Class ODocumentSerializerDelta
java.lang.Object
com.orientechnologies.orient.core.serialization.serializer.record.binary.ODocumentSerializerDelta
- Direct Known Subclasses:
ODocumentSerializerDeltaDistributed
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final byteprotected static final bytestatic final byteprotected static final byteprotected static final byte -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeserialize(byte[] content, ODocument toFill) protected bytedeserializeByte(BytesContainer bytes) voiddeserializeDelta(byte[] content, ODocument toFill) voiddeserializeDelta(BytesContainer bytes, ODocument toFill) protected voiddeserializeDeltaLinkBag(BytesContainer bytes, ORidBag toUpdate) deserializeValue(BytesContainer bytes, OType type, ORecordElement owner) protected OTypegetFieldType(ODocumentEntry entry) static ODocumentSerializerDeltainstance()static OTypereadNullableType(BytesContainer bytes) static ORecordIdreadOptimizedLink(BytesContainer bytes) byte[]protected voidserializeByte(BytesContainer bytes, byte value) protected OClassserializeClass(ODocument document, BytesContainer bytes) byte[]serializeDelta(ODocument document) voidserializeDelta(BytesContainer bytes, ODocument document) protected voidserializeDeltaLinkBag(BytesContainer bytes, ORidBag value) voidserializeValue(BytesContainer bytes, Object value, OType type, OType linkedType) static voidwriteNullableType(BytesContainer bytes, OType type) static voidwriteOptimizedLink(BytesContainer bytes, OIdentifiable link)
-
Field Details
-
CREATED
protected static final byte CREATED- See Also:
-
REPLACED
protected static final byte REPLACED- See Also:
-
CHANGED
protected static final byte CHANGED- See Also:
-
REMOVED
protected static final byte REMOVED- See Also:
-
DELTA_RECORD_TYPE
public static final byte DELTA_RECORD_TYPE- See Also:
-
-
Constructor Details
-
ODocumentSerializerDelta
protected ODocumentSerializerDelta()
-
-
Method Details
-
instance
-
serialize
-
serializeDelta
-
serializeClass
-
deserialize
-
deserializeDelta
-
deserializeDelta
-
deserializeDeltaLinkBag
-
serializeDelta
-
serializeDeltaLinkBag
-
getFieldType
-
deserializeByte
-
serializeByte
-
serializeValue
-
deserializeValue
-
writeNullableType
-
readNullableType
-
readOptimizedLink
-
writeOptimizedLink
-