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