Class ORecordSerializerNetworkV0
java.lang.Object
com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerNetworkV0
- All Implemented Interfaces:
ODocumentSerializer
-
Constructor Summary
Constructors -
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 bytes, boolean embedded) Returns the array of field names with no values.booleanprotected intreadInteger(BytesContainer container) protected OTypereadOType(BytesContainer bytes) protected StringreadString(BytesContainer bytes) voidserialize(ODocument document, BytesContainer bytes) protected OClassserializeClass(ODocument document, BytesContainer bytes) intserializeValue(BytesContainer bytes, Object value, OType type, OType linkedType, OImmutableSchema schema, OPropertyEncryption encryption) protected StringstringFromBytes(byte[] bytes, int offset, int len)
-
Constructor Details
-
ORecordSerializerNetworkV0
public ORecordSerializerNetworkV0()
-
-
Method Details
-
deserializePartial
- Specified by:
deserializePartialin interfaceODocumentSerializer
-
deserialize
- Specified by:
deserializein interfaceODocumentSerializer
-
serialize
- Specified by:
serializein interfaceODocumentSerializer
-
getFieldNames
Description copied from interface:ODocumentSerializerReturns the array of field names with no values.- Specified by:
getFieldNamesin interfaceODocumentSerializer- Parameters:
reference- TODOembedded-
-
serializeClass
-
readOType
-
deserializeValue
- Specified by:
deserializeValuein interfaceODocumentSerializer
-
serializeValue
public int serializeValue(BytesContainer bytes, Object value, OType type, OType linkedType, OImmutableSchema schema, OPropertyEncryption encryption) - Specified by:
serializeValuein interfaceODocumentSerializer
-
readString
-
readInteger
-
stringFromBytes
-
deserializeField
public OBinaryField deserializeField(BytesContainer bytes, OClass iClass, String iFieldName, boolean embedded, OImmutableSchema schema, OPropertyEncryption encryption) - Specified by:
deserializeFieldin interfaceODocumentSerializer
-
getComparator
- Specified by:
getComparatorin interfaceODocumentSerializer
-
isSerializingClassNameByDefault
public boolean isSerializingClassNameByDefault()- Specified by:
isSerializingClassNameByDefaultin interfaceODocumentSerializer
-
deserializeFieldTyped
public <RET> RET deserializeFieldTyped(BytesContainer record, String iFieldName, boolean isEmbedded, OImmutableSchema schema, OPropertyEncryption encryption) - Specified by:
deserializeFieldTypedin interfaceODocumentSerializer
-
deserializeDebug
public void deserializeDebug(BytesContainer bytes, ODatabaseDocumentInternal db, ORecordSerializationDebug debugInfo, OImmutableSchema schema) - Specified by:
deserializeDebugin interfaceODocumentSerializer
-