public class MapEntrySerializer extends SimpleTypeSerializer<Map.Entry> implements TransformSerializer<Map.Entry>
| Constructor and Description |
|---|
MapEntrySerializer() |
| Modifier and Type | Method and Description |
|---|---|
Object |
transform(Map.Entry value) |
ByteBuf |
writeValue(Map.Entry 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(Map.Entry value, ByteBufAllocator allocator, GraphBinaryWriter context) throws SerializationException
SimpleTypeSerializerwriteValue in class SimpleTypeSerializer<Map.Entry>value - A non-nullable value.allocator - The buffer allocator to use.context - The binary writer.SerializationExceptionpublic Object transform(Map.Entry value)
transform in interface TransformSerializer<Map.Entry>Copyright © 2013–2019 Apache Software Foundation. All rights reserved.