
public class OPlaceholder extends Object implements OIdentifiable, OStreamable
| Constructor and Description |
|---|
OPlaceholder()
Empty constructor used by serialization
|
OPlaceholder(ORecord iRecord) |
OPlaceholder(ORecordId rid,
int version) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(OIdentifiable o1,
OIdentifiable o2) |
int |
compareTo(OIdentifiable o) |
boolean |
equals(Object obj) |
void |
fromStream(DataInput in) |
ORID |
getIdentity()
Returns the record identity.
|
<T extends ORecord> |
getRecord()
Returns the record instance.
|
int |
getVersion() |
int |
hashCode() |
boolean |
isLocked() |
void |
lock(boolean iExclusive) |
OStorage.LOCKING_STRATEGY |
lockingStrategy() |
void |
toStream(DataOutput out) |
String |
toString() |
void |
unlock() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic OPlaceholder()
public OPlaceholder(ORecordId rid, int version)
public OPlaceholder(ORecord iRecord)
public ORID getIdentity()
OIdentifiablegetIdentity in interface OIdentifiablepublic <T extends ORecord> T getRecord()
OIdentifiablegetRecord in interface OIdentifiablepublic boolean equals(Object obj)
equals in interface Comparator<OIdentifiable>equals in class Objectpublic int compareTo(OIdentifiable o)
compareTo in interface Comparable<OIdentifiable>public int compare(OIdentifiable o1, OIdentifiable o2)
compare in interface Comparator<OIdentifiable>public int getVersion()
public void toStream(DataOutput out) throws IOException
toStream in interface OStreamableIOExceptionpublic void fromStream(DataInput in) throws IOException
fromStream in interface OStreamableIOExceptionpublic void lock(boolean iExclusive)
lock in interface OIdentifiablepublic boolean isLocked()
isLocked in interface OIdentifiablepublic OStorage.LOCKING_STRATEGY lockingStrategy()
lockingStrategy in interface OIdentifiablepublic void unlock()
unlock in interface OIdentifiableCopyright © 2009–2025 OrientDB. All rights reserved.