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, writeValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDataType, read, readValue, write, writeValuepublic ByteBuf writeValue(TraversalExplanation value, ByteBufAllocator allocator, GraphBinaryWriter context) throws SerializationException
SimpleTypeSerializerwriteValue in class SimpleTypeSerializer<TraversalExplanation>value - A non-nullable value.allocator - The buffer allocator to use.context - The binary writer.SerializationExceptionpublic Object transform(TraversalExplanation value)
transform in interface TransformSerializer<TraversalExplanation>Copyright © 2013–2019 Apache Software Foundation. All rights reserved.