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