
public class ORecordSerializerBinaryV0 extends Object implements ODocumentSerializer
| Constructor and Description |
|---|
ORecordSerializerBinaryV0() |
public OBinaryComparator getComparator()
getComparator in interface ODocumentSerializerpublic void deserializePartial(ODocument document, BytesContainer bytes, String[] iFields)
deserializePartial in interface ODocumentSerializerpublic OBinaryField deserializeField(BytesContainer bytes, OClass iClass, String iFieldName, boolean embedded, OImmutableSchema schema, OPropertyEncryption encryption)
deserializeField in interface ODocumentSerializerpublic void deserializeWithClassName(ODocument document, BytesContainer bytes)
public void deserialize(ODocument document, BytesContainer bytes)
deserialize in interface ODocumentSerializerpublic String[] getFieldNames(ODocument reference, BytesContainer bytes, boolean embedded)
ODocumentSerializergetFieldNames in interface ODocumentSerializerreference - TODOpublic void serialize(ODocument document, BytesContainer bytes)
serialize in interface ODocumentSerializerpublic void serialize(ODocument document, BytesContainer bytes, OImmutableSchema schema, OPropertyEncryption encryption)
public Object deserializeValue(BytesContainer bytes, OType type, ORecordElement owner)
deserializeValue in interface ODocumentSerializerprotected Object deserializeEmbeddedAsDocument(BytesContainer bytes, ORecordElement owner)
protected List<HelperClasses.MapRecordInfo> getPositionsFromEmbeddedMap(BytesContainer bytes, OImmutableSchema schema)
protected List deserializeEmbeddedCollectionAsCollectionOfBytes(BytesContainer bytes, OImmutableSchema schema)
protected Map<String,Object> deserializeEmbeddedMapAsMapOfBytes(BytesContainer bytes, OImmutableSchema schema)
protected OResultBinary deserializeEmbeddedAsBytes(BytesContainer bytes, int valueLength, OImmutableSchema schema)
protected Object deserializeValue(BytesContainer bytes, OType type, ORecordElement owner, boolean embeddedAsDocument, int valueLengthInBytes, boolean justRunThrough, OImmutableSchema schema)
protected ORidBag readRidbag(BytesContainer bytes)
protected OClass serializeClass(ODocument document, BytesContainer bytes)
protected int writeLinkMap(BytesContainer bytes, Map<Object,OIdentifiable> map)
protected Map<Object,OIdentifiable> readLinkMap(BytesContainer bytes, ORecordElement owner, boolean justRunThrough, OImmutableSchema schema)
protected Object readEmbeddedMap(BytesContainer bytes, ORecordElement owner)
protected Collection<?> readEmbeddedSet(BytesContainer bytes, ORecordElement owner)
protected Collection<?> readEmbeddedList(BytesContainer bytes, ORecordElement owner)
public int serializeValue(BytesContainer bytes, Object value, OType type, OType linkedType, OImmutableSchema schema, OPropertyEncryption encryption)
serializeValue in interface ODocumentSerializerprotected int writeRidBag(BytesContainer bytes, ORidBag ridbag)
protected int writeEmbeddedMap(BytesContainer bytes, Map<Object,Object> map, OImmutableSchema schema, OPropertyEncryption encryption)
protected int writeEmbeddedCollection(BytesContainer bytes, Collection<?> value, OType linkedType, OImmutableSchema schema, OPropertyEncryption encryption)
protected OType getFieldType(ODocumentEntry entry)
protected int writeEmptyString(BytesContainer bytes)
public boolean isSerializingClassNameByDefault()
isSerializingClassNameByDefault in interface ODocumentSerializerprotected void skipClassName(BytesContainer bytes)
protected <RET> RET deserializeFieldTypedLoopAndReturn(BytesContainer bytes, String iFieldName, OImmutableSchema schema)
public <RET> RET deserializeFieldTyped(BytesContainer bytes, String iFieldName, boolean isEmbedded, OImmutableSchema schema, OPropertyEncryption encryption)
deserializeFieldTyped in interface ODocumentSerializerpublic HelperClasses.Tuple<Integer,OType> getPointerAndTypeFromCurrentPosition(BytesContainer bytes)
public void deserializeDebug(BytesContainer bytes, ODatabaseDocumentInternal db, ORecordSerializationDebug debugInfo, OImmutableSchema schema)
deserializeDebug in interface ODocumentSerializerCopyright © 2009–2025 OrientDB. All rights reserved.