
public interface ORidBagDelegate extends Iterable<OIdentifiable>, ORecordLazyMultiValue, OTrackedMultiValue<OIdentifiable,OIdentifiable>, ORecordElement
ORecordElement.STATUS| Modifier and Type | Method and Description |
|---|---|
void |
add(OIdentifiable identifiable) |
void |
addAll(Collection<OIdentifiable> values) |
boolean |
contains(OIdentifiable identifiable)
THIS IS VERY EXPENSIVE METHOD AND CAN NOT BE CALLED IN REMOTE STORAGE.
|
int |
deserialize(byte[] stream,
int offset) |
NavigableMap<OIdentifiable,Change> |
getChanges() |
ORecordElement |
getOwner() |
int |
getSerializedSize() |
int |
getSerializedSize(byte[] stream,
int offset) |
OSimpleMultiValueTracker<OIdentifiable,OIdentifiable> |
getTracker() |
boolean |
isEmpty() |
void |
remove(OIdentifiable identifiable) |
void |
requestDelete() |
int |
serialize(byte[] stream,
int offset,
UUID ownerUuid)
Writes content of bag to stream.
|
void |
setOwner(ORecordElement owner) |
void |
setSize(int size) |
void |
setTracker(OSimpleMultiValueTracker<OIdentifiable,OIdentifiable> tracker) |
void |
setTransactionModified(boolean transactionModified) |
String |
toString() |
forEach, iterator, spliteratorconvertLinks2Records, convertRecords2Links, rawIteratorisAutoConvertToRecord, setAutoConvertToRecorddetachaddInternal, disableTracking, enableTracking, getGenericClass, getTimeLine, getTransactionTimeLine, isModified, isTransactionModified, nestedDisable, nestedEnabled, nestedTransactionClear, replace, returnOriginalState, transactionClearsetDirty, setDirtyNoChangedvoid addAll(Collection<OIdentifiable> values)
void add(OIdentifiable identifiable)
void remove(OIdentifiable identifiable)
boolean isEmpty()
int getSerializedSize()
int getSerializedSize(byte[] stream,
int offset)
int serialize(byte[] stream,
int offset,
UUID ownerUuid)
OwnerUuid is needed to notify db about changes of collection pointer if some happens during serialization.
stream - to write contentoffset - in stream where start to write contentownerUuid - id of delegate ownerint deserialize(byte[] stream,
int offset)
void requestDelete()
boolean contains(OIdentifiable identifiable)
identifiable - Object to check.void setOwner(ORecordElement owner)
ORecordElement getOwner()
getOwner in interface ORecordElementNavigableMap<OIdentifiable,Change> getChanges()
void setSize(int size)
OSimpleMultiValueTracker<OIdentifiable,OIdentifiable> getTracker()
void setTracker(OSimpleMultiValueTracker<OIdentifiable,OIdentifiable> tracker)
void setTransactionModified(boolean transactionModified)
Copyright © 2009–2025 OrientDB. All rights reserved.