V
- Type of the attribute associated with the AttributeSerializerpublic interface AttributeSerializer<V>
TitanKey
is defined using a data type specified via TypeMaker
for which a custom serializer
is configured, then it will use this custom serializer for persistence operations. For more information on how to
configure a custom serializer, refer to the
Graph Configuration WikiTypeMaker
,
Graph Configuration WikiModifier and Type | Method and Description |
---|---|
V |
read(com.thinkaurelius.titan.diskstorage.ScanBuffer buffer)
Reads an attribute from the given ReadBuffer.
|
void |
writeObjectData(com.thinkaurelius.titan.diskstorage.WriteBuffer buffer,
V attribute)
Writes the attribute value to the given WriteBuffer.
|
V read(com.thinkaurelius.titan.diskstorage.ScanBuffer buffer)
buffer
- ReadBuffer to read attribute fromvoid writeObjectData(com.thinkaurelius.titan.diskstorage.WriteBuffer buffer, V attribute)
buffer
- WriteBuffer to write attribute toattribute
- Attribute to write to WriteBufferCopyright © 2012-2013. All Rights Reserved.