public class QueryResult extends Object implements DataSerializable
Constructor and Description |
---|
QueryResult() |
QueryResult(Collection<? extends com.hazelcast.query.impl.QueryResultEntry> queryableEntries) |
Modifier and Type | Method and Description |
---|---|
void |
add(com.hazelcast.query.impl.QueryResultEntry resultEntry) |
List<Integer> |
getPartitionIds() |
Collection<com.hazelcast.query.impl.QueryResultEntry> |
getResult() |
void |
readData(com.hazelcast.nio.ObjectDataInput in)
Reads fields from the input stream
|
void |
setPartitionIds(List<Integer> partitionIds) |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out)
Writes object fields to output stream
|
public QueryResult()
public QueryResult(Collection<? extends com.hazelcast.query.impl.QueryResultEntry> queryableEntries)
public void add(com.hazelcast.query.impl.QueryResultEntry resultEntry)
public Collection<com.hazelcast.query.impl.QueryResultEntry> getResult()
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(com.hazelcast.nio.ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.