Class ORecordBytesLazy
java.lang.Object
com.orientechnologies.orient.core.record.ORecordAbstract
com.orientechnologies.orient.core.record.impl.ORecordBytes
com.orientechnologies.orient.core.record.impl.ORecordBytesLazy
- All Implemented Interfaces:
OIdentifiable,ORecordElement,OBlob,ORecord,OSerializableStream,Serializable,Comparable<OIdentifiable>,Comparator<OIdentifiable>
Deprecated.
Extension of ORecordBytes that handle lazy serialization and converts temporary links (record id
in transactions) to finals.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
Depecraded since v2.2
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.orientechnologies.orient.core.db.record.ORecordElement
ORecordElement.STATUS -
Field Summary
Fields inherited from class com.orientechnologies.orient.core.record.ORecordAbstract
BASE_FORMAT, contentChanged, DEFAULT_FORMAT, dirty, dirtyManager, OLD_FORMAT_WITH_LATE_TYPES, recordFormat, recordId, recordVersion, size, source, statusFields inherited from interface com.orientechnologies.orient.core.record.impl.OBlob
RECORD_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Deprecated.Creates a copy of the record.Deprecated.voidrecycle(OSerializableStream iSerializableContent) Deprecated.byte[]toStream()Deprecated.Marshalls the object.Methods inherited from class com.orientechnologies.orient.core.record.impl.ORecordBytes
clear, fromInputStream, fromInputStream, fromStream, getRecordType, reset, setup, toOutputStreamMethods inherited from class com.orientechnologies.orient.core.record.ORecordAbstract
addIdentityChangeListener, checkForLoading, clearSource, compare, compareTo, copyTo, delete, detach, equals, fill, fill, flatCopy, fromJSON, fromJSON, fromJSON, fromJSON, fromStream, getDatabase, getDatabaseIfDefined, getDatabaseIfDefinedInternal, getDatabaseInternal, getDirtyManager, getIdentity, getInternalStatus, getOwner, getRecord, getSize, getVersion, hashCode, isContentChanged, isDirty, isLocked, load, lock, lockingStrategy, onAfterIdentityChanged, onBeforeIdentityChanged, reload, reload, reload, reload, removeIdentityChangeListener, reset, save, save, save, save, setContentChanged, setDirty, setDirtyManager, setDirtyNoChanged, setIdentity, setIdentity, setInternalStatus, setVersion, toJSON, toJSON, toJSON, toJSON, toString, track, unload, unlock, unsetDirty, unTrackMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface java.util.Comparator
compare, equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface com.orientechnologies.orient.core.db.record.OIdentifiable
getRecord, isLocked, lock, lockingStrategy, unlockMethods inherited from interface com.orientechnologies.orient.core.record.ORecord
delete, detach, fromJSON, getDatabase, getIdentity, getInternalStatus, getSize, getVersion, isDirty, load, reload, reload, reset, save, save, save, save, setInternalStatus, toJSON, toJSON, unloadMethods inherited from interface com.orientechnologies.orient.core.db.record.ORecordElement
getOwner, setDirty, setDirtyNoChanged
-
Constructor Details
-
ORecordBytesLazy
public ORecordBytesLazy()Deprecated. -
ORecordBytesLazy
Deprecated.
-
-
Method Details
-
toStream
public byte[] toStream()Deprecated.Description copied from interface:OSerializableStreamMarshalls the object. Transforms the current object in byte[] form to being stored or transferred over the network.- Specified by:
toStreamin interfaceOSerializableStream- Overrides:
toStreamin classORecordBytes- Returns:
- The byte array representation of the object
- See Also:
-
copy
Deprecated.Description copied from interface:ORecordCreates a copy of the record. All the record contents are copied.- Specified by:
copyin interfaceORecord- Overrides:
copyin classORecordBytes- Returns:
- The Object instance itself giving a "fluent interface". Useful to call multiple methods in chain.
-
getSerializableContent
Deprecated. -
recycle
Deprecated.
-