com.hazelcast.util
Class QueryResultSet
java.lang.Object
   java.util.AbstractCollection<E>
java.util.AbstractCollection<E>
       java.util.AbstractSet
java.util.AbstractSet
           com.hazelcast.util.QueryResultSet
com.hazelcast.util.QueryResultSet
- All Implemented Interfaces: 
- DataSerializable, IdentifiedDataSerializable, Iterable, Collection, Set
- public class QueryResultSet 
- extends AbstractSet- implements IdentifiedDataSerializable
Collection(Set) class for result of query operations
 
 
 
 
 
 
QueryResultSet
public QueryResultSet()
QueryResultSet
public QueryResultSet(SerializationService serializationService,
                      IterationType iterationType,
                      boolean data)
rawIterator
public Iterator<Map.Entry> rawIterator()
- 
 
- 
 
add
public boolean add(QueryResultEntry entry)
- 
 
- 
 
add
public boolean add(Object entry)
- 
- Specified by:
- addin interface- Collection
- Specified by:
- addin interface- Set
- Overrides:
- addin class- AbstractCollection
 
- 
 
iterator
public Iterator iterator()
- 
- Specified by:
- iteratorin interface- Iterable
- Specified by:
- iteratorin interface- Collection
- Specified by:
- iteratorin interface- Set
- Specified by:
- iteratorin class- AbstractCollection
 
- 
 
size
public int size()
- 
- Specified by:
- sizein interface- Collection
- Specified by:
- sizein interface- Set
- Specified by:
- sizein class- AbstractCollection
 
- 
 
getFactoryId
public int getFactoryId()
- Description copied from interface: IdentifiedDataSerializable
- Returns DataSerializableFactory factory id for this class.
 
- 
- Specified by:
- getFactoryIdin interface- IdentifiedDataSerializable
 
- 
- Returns:
- factory id
 
getId
public int getId()
- Description copied from interface: IdentifiedDataSerializable
- Returns type identifier for this class. Id should be unique per DataSerializableFactory.
 
- 
- Specified by:
- getIdin interface- IdentifiedDataSerializable
 
- 
- Returns:
- type id
 
writeData
public void writeData(ObjectDataOutput out)
               throws IOException
- Description copied from interface: DataSerializable
- Writes object fields to output stream
 
- 
- Specified by:
- writeDatain interface- DataSerializable
 
- 
- Parameters:
- out- output
- Throws:
- IOException
 
readData
public void readData(ObjectDataInput in)
              throws IOException
- Description copied from interface: DataSerializable
- Reads fields from the input stream
 
- 
- Specified by:
- readDatain interface- DataSerializable
 
- 
- Parameters:
- in- input
- Throws:
- IOException
 
toString
public String toString()
- 
- Overrides:
- toStringin class- AbstractCollection
 
- 
 
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.