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, OSerializationContext ctx) protected voidserializeDeltaLinkBag(BytesContainer bytes, ORidBag value, OSerializationContext ctx) voidserializeValue(BytesContainer bytes, Object value, OType type, OType linkedType, OSerializationContext ctx) 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
protected void serializeDeltaLinkBag(BytesContainer bytes, ORidBag value, OSerializationContext ctx) -
getFieldType
-
deserializeByte
-
serializeByte
-
serializeValue
public void serializeValue(BytesContainer bytes, Object value, OType type, OType linkedType, OSerializationContext ctx) -
deserializeValue
-
writeNullableType
-
readNullableType
-
readOptimizedLink
-
writeOptimizedLink
-