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