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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public OPlaceholder()
public OPlaceholder(ORecordId rid, int version)
public OPlaceholder(ORecord iRecord)
public ORID getIdentity()
OIdentifiable
getIdentity
in interface OIdentifiable
public <T extends ORecord> T getRecord()
OIdentifiable
getRecord
in interface OIdentifiable
public boolean equals(Object obj)
equals
in interface Comparator<OIdentifiable>
equals
in class Object
public 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 OStreamable
IOException
public void fromStream(DataInput in) throws IOException
fromStream
in interface OStreamable
IOException
public void lock(boolean iExclusive)
lock
in interface OIdentifiable
public boolean isLocked()
isLocked
in interface OIdentifiable
public OStorage.LOCKING_STRATEGY lockingStrategy()
lockingStrategy
in interface OIdentifiable
public void unlock()
unlock
in interface OIdentifiable
Copyright © 2009–2020 OrientDB. All rights reserved.