public class TraversalMetricsSerializer extends SimpleTypeSerializer<TraversalMetrics>
| Constructor and Description |
|---|
TraversalMetricsSerializer() |
| Modifier and Type | Method and Description |
|---|---|
protected TraversalMetrics |
readValue(ByteBuf buffer,
GraphBinaryReader context)
Reads a non-nullable value according to the type format.
|
protected void |
writeValue(TraversalMetrics value,
ByteBuf buffer,
GraphBinaryWriter context)
Writes a non-nullable value into a buffer using the provided allocator.
|
getDataType, read, readValue, write, writeValueprotected TraversalMetrics readValue(ByteBuf buffer, GraphBinaryReader context) throws SerializationException
SimpleTypeSerializerreadValue in class SimpleTypeSerializer<TraversalMetrics>buffer - A buffer which reader index has been set to the beginning of the {value}.context - The binary writer.SerializationExceptionprotected void writeValue(TraversalMetrics value, ByteBuf buffer, GraphBinaryWriter context) throws SerializationException
SimpleTypeSerializerwriteValue in class SimpleTypeSerializer<TraversalMetrics>value - A non-nullable value.buffer - The buffer allocator to use.context - The binary writer.SerializationExceptionCopyright © 2013–2019 Apache Software Foundation. All rights reserved.