Interface ODocumentSerializer
- All Known Implementing Classes:
ORecordSerializerBinaryDebug,ORecordSerializerBinaryV0,ORecordSerializerBinaryV1,ORecordSerializerNetworkV0
public interface ODocumentSerializer
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeserialize(ODocument document, BytesContainer bytes) voiddeserializeDebug(BytesContainer bytes, ODatabaseDocumentInternal db, ORecordSerializationDebug debugInfo, OImmutableSchema schema) deserializeField(BytesContainer bytes, OClass iClass, String iFieldName, boolean embedded, OImmutableSchema schema, OPropertyEncryption encryption) <RET> RETdeserializeFieldTyped(BytesContainer record, String iFieldName, boolean isEmbedded, OImmutableSchema schema, OPropertyEncryption encryption) voiddeserializePartial(ODocument document, BytesContainer bytes, String[] iFields) deserializeValue(BytesContainer bytes, OType type, ORecordElement owner) String[]getFieldNames(ODocument reference, BytesContainer iBytes, boolean embedded) Returns the array of field names with no values.booleanvoidserialize(ODocument document, BytesContainer bytes) intserializeValue(BytesContainer bytes, Object value, OType type, OType linkedType, OImmutableSchema schema, OPropertyEncryption encryption)
-
Method Details
-
serialize
-
serializeValue
int serializeValue(BytesContainer bytes, Object value, OType type, OType linkedType, OImmutableSchema schema, OPropertyEncryption encryption) -
deserialize
-
deserializePartial
-
deserializeValue
-
deserializeField
OBinaryField deserializeField(BytesContainer bytes, OClass iClass, String iFieldName, boolean embedded, OImmutableSchema schema, OPropertyEncryption encryption) -
getComparator
OBinaryComparator getComparator() -
getFieldNames
Returns the array of field names with no values.- Parameters:
reference- TODOembedded-
-
isSerializingClassNameByDefault
boolean isSerializingClassNameByDefault() -
deserializeFieldTyped
<RET> RET deserializeFieldTyped(BytesContainer record, String iFieldName, boolean isEmbedded, OImmutableSchema schema, OPropertyEncryption encryption) -
deserializeDebug
void deserializeDebug(BytesContainer bytes, ODatabaseDocumentInternal db, ORecordSerializationDebug debugInfo, OImmutableSchema schema)
-