public class MetricsSerializer extends SimpleTypeSerializer<Metrics>
| Constructor and Description |
|---|
MetricsSerializer() |
| Modifier and Type | Method and Description |
|---|---|
ByteBuf |
writeValue(Metrics value,
ByteBufAllocator allocator,
GraphBinaryWriter context)
Writes a non-nullable value into a buffer using the provided allocator.
|
getDataType, read, readValue, write, writeValuepublic ByteBuf writeValue(Metrics value, ByteBufAllocator allocator, GraphBinaryWriter context) throws SerializationException
SimpleTypeSerializerwriteValue in class SimpleTypeSerializer<Metrics>value - A non-nullable value.allocator - The buffer allocator to use.context - The binary writer.SerializationExceptionCopyright © 2013–2019 Apache Software Foundation. All rights reserved.