com.hazelcast.util
public class QueryResultSet extends AbstractSet implements IdentifiedDataSerializable
Constructor and Description |
---|
QueryResultSet() |
QueryResultSet(SerializationService serializationService,
IterationType iterationType,
boolean data) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Object entry) |
boolean |
add(QueryResultEntry entry) |
boolean |
contains(QueryResultEntry entry) |
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
int |
getId()
Returns type identifier for this class.
|
Iterator |
iterator() |
Iterator<Map.Entry> |
rawIterator() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
boolean |
remove(QueryResultEntry entry) |
int |
size() |
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
equals, hashCode, removeAll
addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray
public QueryResultSet()
public QueryResultSet(SerializationService serializationService, IterationType iterationType, boolean data)
public boolean add(QueryResultEntry entry)
public boolean remove(QueryResultEntry entry)
public boolean contains(QueryResultEntry entry)
public boolean add(Object entry)
add
in interface Collection
add
in interface Set
add
in class AbstractCollection
public Iterator iterator()
iterator
in interface Iterable
iterator
in interface Collection
iterator
in interface Set
iterator
in class AbstractCollection
public int size()
size
in interface Collection
size
in interface Set
size
in class AbstractCollection
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
public String toString()
toString
in class AbstractCollection
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.