public class KeyedDataDeSerializer extends java.lang.Object implements MessageDeSerializer
| Constructor and Description |
|---|
KeyedDataDeSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
build(java.lang.Object partialObject,
int edge)
Builds the message from the data buffers in the partialObject.
|
MessageHeader |
buildHeader(DataBuffer buffer,
int edge)
Builds the header object from the data in the data buffer
|
java.lang.Object |
getDataBuffers(java.lang.Object partialObject,
int edge)
Returns the data buffers for the given message.
|
void |
init(Config cfg)
Initialize the deserializer
|
public void init(Config cfg)
MessageDeSerializerinit in interface MessageDeSerializercfg - configurationpublic void build(java.lang.Object partialObject,
int edge)
build in interface MessageDeSerializerpartialObject - message object that needs to be builtedge - the edge value associated with this messagepublic java.lang.Object getDataBuffers(java.lang.Object partialObject,
int edge)
MessageDeSerializergetDataBuffers in interface MessageDeSerializerpartialObject - object that contains the buffersedge - id of the edgepublic MessageHeader buildHeader(DataBuffer buffer, int edge)
buildHeader in interface MessageDeSerializerbuffer - data buffer that contains the messageedge - the edge value associated with this message