public class TraversalExplanationSerializer extends SimpleTypeSerializer<TraversalExplanation> implements TransformSerializer<TraversalExplanation>
Constructor and Description |
---|
TraversalExplanationSerializer() |
Modifier and Type | Method and Description |
---|---|
Object |
transform(TraversalExplanation value)
Creates a Map containing "original", "intermediate" and "final" keys.
|
ByteBuf |
writeValue(TraversalExplanation value,
ByteBufAllocator allocator,
GraphBinaryWriter context)
Writes a non-nullable value into a buffer using the provided allocator.
|
getDataType, read, readValue, write, writeValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataType, read, readValue, write, writeValue
public ByteBuf writeValue(TraversalExplanation value, ByteBufAllocator allocator, GraphBinaryWriter context) throws SerializationException
SimpleTypeSerializer
writeValue
in class SimpleTypeSerializer<TraversalExplanation>
value
- A non-nullable value.allocator
- The buffer allocator to use.context
- The binary writer.SerializationException
public Object transform(TraversalExplanation value)
transform
in interface TransformSerializer<TraversalExplanation>
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.