Package com.arcadedb.serializer
Class BinarySerializer
- java.lang.Object
-
- com.arcadedb.serializer.BinarySerializer
-
public class BinarySerializer extends Object
Default serializer implementation.TODO: check on storing all the property ids at the beginning of the buffer, so to partial deserialize values is much more
TODO: efficient, because it doesn't need to unmarshall all the values first.
-
-
Constructor Summary
Constructors Constructor Description BinarySerializer()
-
Method Summary
-
-
-
Method Detail
-
getComparator
public BinaryComparator getComparator()
-
serializeVertex
public Binary serializeVertex(Database database, VertexInternal vertex)
-
serializeEdgeContainer
public Binary serializeEdgeContainer(Database database, EdgeSegment record)
-
deserializeProperties
public Map<String,Object> deserializeProperties(Database database, Binary buffer, EmbeddedModifier embeddedModifier, String... fieldNames)
-
serializeValue
public void serializeValue(Database database, Binary content, byte type, Object value)
-
deserializeValue
public Object deserializeValue(Database database, Binary content, byte type, EmbeddedModifier embeddedModifier)
-
serializeProperties
public Binary serializeProperties(Database database, Document record, Binary header, Binary content)
-
-