public class ORecordSerializerNetworkV0 extends Object implements ODocumentSerializer
Constructor and Description |
---|
ORecordSerializerNetworkV0() |
public void deserializePartial(ODocument document, BytesContainer bytes, String[] iFields)
deserializePartial
in interface ODocumentSerializer
public void deserialize(ODocument document, BytesContainer bytes)
deserialize
in interface ODocumentSerializer
public void serialize(ODocument document, BytesContainer bytes)
serialize
in interface ODocumentSerializer
public String[] getFieldNames(ODocument reference, BytesContainer bytes, boolean embedded)
ODocumentSerializer
getFieldNames
in interface ODocumentSerializer
reference
- TODOprotected OClass serializeClass(ODocument document, BytesContainer bytes)
protected OType readOType(BytesContainer bytes)
public Object deserializeValue(BytesContainer bytes, OType type, ORecordElement owner)
deserializeValue
in interface ODocumentSerializer
public int serializeValue(BytesContainer bytes, Object value, OType type, OType linkedType, OImmutableSchema schema, OPropertyEncryption encryption)
serializeValue
in interface ODocumentSerializer
protected String readString(BytesContainer bytes)
protected int readInteger(BytesContainer container)
protected String stringFromBytes(byte[] bytes, int offset, int len)
public OBinaryField deserializeField(BytesContainer bytes, OClass iClass, String iFieldName, boolean embedded, OImmutableSchema schema, OPropertyEncryption encryption)
deserializeField
in interface ODocumentSerializer
public OBinaryComparator getComparator()
getComparator
in interface ODocumentSerializer
public boolean isSerializingClassNameByDefault()
isSerializingClassNameByDefault
in interface ODocumentSerializer
public <RET> RET deserializeFieldTyped(BytesContainer record, String iFieldName, boolean isEmbedded, OImmutableSchema schema, OPropertyEncryption encryption)
deserializeFieldTyped
in interface ODocumentSerializer
public void deserializeDebug(BytesContainer bytes, ODatabaseDocumentInternal db, ORecordSerializationDebug debugInfo, OImmutableSchema schema)
deserializeDebug
in interface ODocumentSerializer
Copyright © 2009–2020 OrientDB. All rights reserved.