com.hazelcast.query.impl
public class QueryResultEntryImpl extends Object implements IdentifiedDataSerializable, QueryResultEntry
Constructor and Description |
---|
QueryResultEntryImpl() |
QueryResultEntryImpl(Data keyData,
Data indexKey,
Data valueData) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
int |
getId()
Returns type identifier for this class.
|
Data |
getIndexKey() |
Data |
getKeyData() |
Data |
getValueData() |
int |
hashCode() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
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 Data getKeyData()
getKeyData
in interface QueryResultEntry
public Data getValueData()
getValueData
in interface QueryResultEntry
public Data getIndexKey()
getIndexKey
in interface QueryResultEntry
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.