
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 void deserializePartialWithClassName(ODocument document, BytesContainer bytes, String[] iFields)
deserializePartialWithClassName in interface ODocumentSerializerpublic OBinaryField deserializeField(BytesContainer bytes, OClass iClass, String iFieldName)
deserializeField in interface ODocumentSerializerpublic OBinaryField deserializeFieldWithClassName(BytesContainer bytes, OClass iClass, String iFieldName)
deserializeFieldWithClassName in interface ODocumentSerializerpublic void deserializeWithClassName(ODocument document, BytesContainer bytes)
deserializeWithClassName in interface ODocumentSerializerpublic void deserialize(ODocument document, BytesContainer bytes)
deserialize in interface ODocumentSerializerpublic String[] getFieldNames(ODocument reference, BytesContainer bytes, boolean deserializeClassName)
ODocumentSerializergetFieldNames in interface ODocumentSerializerreference - TODOpublic void serializeWithClassName(ODocument document, BytesContainer bytes, boolean iClassOnly)
serializeWithClassName in interface ODocumentSerializerpublic void serialize(ODocument document, BytesContainer bytes, boolean iClassOnly)
serialize in interface ODocumentSerializerpublic Object deserializeValue(BytesContainer bytes, OType type, ODocument ownerDocument)
deserializeValue in interface ODocumentSerializerprotected Object deserializeEmbeddedAsDocument(BytesContainer bytes, ODocument ownerDocument)
protected List<HelperClasses.MapRecordInfo> getPositionsFromEmbeddedMap(BytesContainer bytes, int serializerVersion)
protected List deserializeEmbeddedCollectionAsCollectionOfBytes(BytesContainer bytes, int serializerVersion)
protected Map<String,Object> deserializeEmbeddedMapAsMapOfBytes(BytesContainer bytes, int serializerVersion)
protected OResultBinary deserializeEmbeddedAsBytes(BytesContainer bytes, int valueLength, int serializerVersion)
protected Object deserializeValue(BytesContainer bytes, OType type, ODocument ownerDocument, boolean embeddedAsDocument, int valueLengthInBytes, int serializerVersion, boolean justRunThrough)
protected ORidBag readRidbag(BytesContainer bytes)
protected OClass serializeClass(ODocument document, BytesContainer bytes)
protected OGlobalProperty getGlobalProperty(ODocument document, int len)
protected Map<Object,OIdentifiable> readLinkMap(BytesContainer bytes, ODocument document, boolean justRunThrough)
protected Object readEmbeddedMap(BytesContainer bytes, ODocument document)
protected Collection<OIdentifiable> readLinkCollection(BytesContainer bytes, Collection<OIdentifiable> found, boolean justRunThrough)
protected Collection<?> readEmbeddedSet(BytesContainer bytes, ODocument ownerDocument)
protected Collection<?> readEmbeddedList(BytesContainer bytes, ODocument ownerDocument)
public HelperClasses.Tuple<Integer,Integer> serializeValue(BytesContainer bytes, Object value, OType type, OType linkedType)
serializeValue in interface ODocumentSerializerprotected int writeRidBag(BytesContainer bytes, ORidBag ridbag)
protected int writeBinary(BytesContainer bytes, byte[] valueBytes)
protected int writeLinkMap(BytesContainer bytes, Map<Object,OIdentifiable> map)
protected int writeEmbeddedMap(BytesContainer bytes, Map<Object,Object> map)
protected static int writeNullLink(BytesContainer bytes)
protected static int writeOptimizedLink(BytesContainer bytes, OIdentifiable link)
protected int writeLinkCollection(BytesContainer bytes, Collection<OIdentifiable> value)
protected int writeEmbeddedCollection(BytesContainer bytes, Collection<?> value, OType linkedType)
protected OType getFieldType(ODocumentEntry entry)
protected int writeEmptyString(BytesContainer bytes)
protected int writeString(BytesContainer bytes, String toWrite)
public boolean isSerializingClassNameByDefault()
isSerializingClassNameByDefault in interface ODocumentSerializerprotected void skipClassName(BytesContainer bytes)
protected <RET> RET deserializeFieldTypedLoopAndReturn(BytesContainer bytes, String iFieldName, int serializerVersion)
public <RET> RET deserializeFieldTyped(BytesContainer bytes, String iFieldName, boolean isEmbedded, int serializerVersion)
deserializeFieldTyped in interface ODocumentSerializerpublic boolean isSerializingClassNameForEmbedded()
isSerializingClassNameForEmbedded in interface ODocumentSerializerpublic HelperClasses.Tuple<Integer,OType> getPointerAndTypeFromCurrentPosition(BytesContainer bytes)
getPointerAndTypeFromCurrentPosition in interface ODocumentSerializerpublic void deserializeDebug(BytesContainer bytes, ODatabaseDocumentInternal db, ORecordSerializationDebug debugInfo, OImmutableSchema schema)
deserializeDebug in interface ODocumentSerializerCopyright © 2009–2025 OrientDB. All rights reserved.