V - Type of the attribute associated with the AttributeSerializerpublic interface AttributeSerializer<V> extends AttributeHandler<V>
PropertyKey is defined using a data type specified via PropertyKeyMaker for which a custom serializer
is configured, then it will use this custom serializer for persistence operations.RelationTypeMaker,
Graph Configuration Wiki| Modifier and Type | Method and Description |
|---|---|
V |
read(ScanBuffer buffer)
Reads an attribute from the given ReadBuffer.
|
void |
write(WriteBuffer buffer,
V attribute)
Writes the attribute value to the given WriteBuffer.
|
convert, verifyAttributeV read(ScanBuffer buffer)
buffer - ReadBuffer to read attribute fromvoid write(WriteBuffer buffer, V attribute)
buffer - WriteBuffer to write attribute toattribute - Attribute to write to WriteBufferCopyright © 2012–2014. All rights reserved.