com.hazelcast.query.impl
Class QueryResultEntryImpl

java.lang.Object
  extended by com.hazelcast.query.impl.QueryResultEntryImpl
All Implemented Interfaces:
DataSerializable, IdentifiedDataSerializable, QueryResultEntry

public class QueryResultEntryImpl
extends Object
implements IdentifiedDataSerializable, QueryResultEntry

Multiple result set for Predicates


Constructor Summary
QueryResultEntryImpl()
           
QueryResultEntryImpl(Data keyData, Data indexKey, Data valueData)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryResultEntryImpl

public QueryResultEntryImpl()

QueryResultEntryImpl

public QueryResultEntryImpl(Data keyData,
                            Data indexKey,
                            Data valueData)
Method Detail

writeData

public void writeData(ObjectDataOutput out)
               throws IOException
Description copied from interface: DataSerializable
Writes object fields to output stream

Specified by:
writeData in 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:
readData in interface DataSerializable
Parameters:
in - input
Throws:
IOException

getKeyData

public Data getKeyData()
Specified by:
getKeyData in interface QueryResultEntry

getValueData

public Data getValueData()
Specified by:
getValueData in interface QueryResultEntry

getIndexKey

public Data getIndexKey()
Specified by:
getIndexKey in interface QueryResultEntry

getFactoryId

public int getFactoryId()
Description copied from interface: IdentifiedDataSerializable
Returns DataSerializableFactory factory id for this class.

Specified by:
getFactoryId in 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:
getId in interface IdentifiedDataSerializable
Returns:
type id

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.