public class OImmutableRecordId extends ORecordId
EMPTY_RECORD_ID, EMPTY_RECORD_ID_STREAM, PERSISTENT_SIZE
CLUSTER_ID_INVALID, CLUSTER_MAX, CLUSTER_POS_INVALID, PREFIX, SEPARATOR
Constructor and Description |
---|
OImmutableRecordId(int iClusterId,
long iClusterPosition) |
OImmutableRecordId(ORecordId iRID) |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(ORID iSource) |
ORecordId |
fromStream(byte[] iBuffer)
Unmarshalls the object.
|
ORecordId |
fromStream(InputStream iStream) |
ORecordId |
fromStream(OMemoryStream iStream) |
void |
fromString(String iRecordId) |
void |
reset() |
compare, compareTo, copy, deserialize, equals, fromStream, generateString, getClusterId, getClusterPosition, getIdentity, getRecord, hashCode, isA, isLocked, isNew, isNew, isPersistent, isPersistent, isTemporary, isTemporary, isValid, isValid, lock, lockingStrategy, next, nextRid, serialize, setClusterId, setClusterPosition, toStream, toStream, toStream, toStream, toString, toString, unlock
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public OImmutableRecordId(int iClusterId, long iClusterPosition)
public OImmutableRecordId(ORecordId iRID)
public ORecordId fromStream(byte[] iBuffer)
OSerializableStream
fromStream
in interface OSerializableStream
fromStream
in class ORecordId
iBuffer
- byte array representation of the objectpublic ORecordId fromStream(OMemoryStream iStream)
fromStream
in class ORecordId
public ORecordId fromStream(InputStream iStream) throws IOException
fromStream
in class ORecordId
IOException
public void fromString(String iRecordId)
fromString
in class ORecordId
Copyright © 2009–2020 OrientDB. All rights reserved.