Key
- Value
- public static final class ListNode.NodeMarshaller<Key,Value> extends VariableMarshaller<ListNode<Key,Value>>
Constructor and Description |
---|
NodeMarshaller(Marshaller<Key> keyMarshaller,
Marshaller<Value> valueMarshaller) |
Modifier and Type | Method and Description |
---|---|
ListNode<Key,Value> |
readPayload(DataInput is)
Read the payload of the object from the DataInput stream.
|
void |
writePayload(ListNode<Key,Value> node,
DataOutput os)
Write the payload of the object to the DataOutput stream.
|
deepCopy, getFixedSize, isDeepCopySupported
public NodeMarshaller(Marshaller<Key> keyMarshaller, Marshaller<Value> valueMarshaller)
public void writePayload(ListNode<Key,Value> node, DataOutput os) throws IOException
Marshaller
IOException
public ListNode<Key,Value> readPayload(DataInput is) throws IOException
Marshaller
IOException
Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.