|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.mapreduce.impl.operation.KeysAssignmentResult
public class KeysAssignmentResult
This class is used to store assignment results in KeysAssignmentOperation
executions.
Constructor Summary | |
---|---|
KeysAssignmentResult()
|
|
KeysAssignmentResult(RequestPartitionResult.ResultState resultState,
Map<Object,Address> assignment)
|
Method Summary | |
---|---|
Map<Object,Address> |
getAssignment()
|
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class. |
int |
getId()
Returns type identifier for this class. |
RequestPartitionResult.ResultState |
getResultState()
|
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeysAssignmentResult()
public KeysAssignmentResult(RequestPartitionResult.ResultState resultState, Map<Object,Address> assignment)
Method Detail |
---|
public RequestPartitionResult.ResultState getResultState()
public Map<Object,Address> getAssignment()
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- output
IOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- input
IOException
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |