
public class ORecordLazyMap extends OTrackedMap<OIdentifiable> implements ORecordLazyMultiValue
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>ORecordElement.STATUSgenericClass, sourceRecord| Constructor and Description |
|---|
ORecordLazyMap(ODocument iSourceRecord,
byte iRecordType) |
ORecordLazyMap(ODocument iSourceRecord,
Map<Object,OIdentifiable> iOrigin) |
ORecordLazyMap(ORecordElement iSourceRecord) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsValue(Object o) |
void |
convertLinks2Records()
Browse all the set to convert all the items into records.
|
boolean |
convertRecords2Links()
Browse all the set to convert all the items into links.
|
boolean |
detach()
Detaches the object.
|
OIdentifiable |
get(Object iKey) |
byte |
getRecordType() |
boolean |
isAutoConvertToRecord() |
OIdentifiable |
put(Object key,
OIdentifiable value) |
Iterator<OIdentifiable> |
rawIterator() |
OIdentifiable |
remove(Object o) |
void |
setAutoConvertToRecord(boolean convertToRecord) |
int |
size() |
String |
toString() |
Collection<OIdentifiable> |
values() |
addInternal, disableTracking, enableTracking, getGenericClass, getOwner, getTimeLine, getTransactionTimeLine, isModified, isTransactionModified, putAll, putInternal, replace, returnOriginalState, setDirty, setDirtyNoChanged, transactionClearentrySet, forEach, getOrDefault, keySet, removeEldestEntry, replaceAllclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putIfAbsent, remove, replace, replaceequals, hashCodefinalize, getClass, notify, notifyAll, wait, wait, waitnestedDisable, nestedEnabled, nestedTransactionClearcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, putIfAbsent, remove, replace, replacepublic ORecordLazyMap(ORecordElement iSourceRecord)
public ORecordLazyMap(ODocument iSourceRecord, byte iRecordType)
public ORecordLazyMap(ODocument iSourceRecord, Map<Object,OIdentifiable> iOrigin)
public boolean containsValue(Object o)
containsValue in interface Map<Object,OIdentifiable>containsValue in class LinkedHashMap<Object,OIdentifiable>public OIdentifiable get(Object iKey)
get in interface Map<Object,OIdentifiable>get in class LinkedHashMap<Object,OIdentifiable>public OIdentifiable put(Object key, OIdentifiable value)
put in interface Map<Object,OIdentifiable>put in class OTrackedMap<OIdentifiable>public Collection<OIdentifiable> values()
values in interface Map<Object,OIdentifiable>values in class LinkedHashMap<Object,OIdentifiable>public OIdentifiable remove(Object o)
remove in interface Map<Object,OIdentifiable>remove in class OTrackedMap<OIdentifiable>public void clear()
clear in interface Map<Object,OIdentifiable>clear in class OTrackedMap<OIdentifiable>public String toString()
toString in class AbstractMap<Object,OIdentifiable>public boolean isAutoConvertToRecord()
isAutoConvertToRecord in interface OAutoConvertToRecordpublic void setAutoConvertToRecord(boolean convertToRecord)
setAutoConvertToRecord in interface OAutoConvertToRecordpublic void convertLinks2Records()
ORecordLazyMultiValueIt converts only items that already loaded into memory from storage. To convert records that
will be fetched from disk later use OAutoConvertToRecord.setAutoConvertToRecord(boolean)
convertLinks2Records in interface ORecordLazyMultiValuepublic boolean convertRecords2Links()
ORecordLazyMultiValueconvertRecords2Links in interface ORecordLazyMultiValuepublic byte getRecordType()
public Iterator<OIdentifiable> rawIterator()
rawIterator in interface ORecordLazyMultiValuepublic boolean detach()
ODetachabledetach in interface ODetachablepublic int size()
size in interface OSizeablesize in interface Map<Object,OIdentifiable>size in class HashMap<Object,OIdentifiable>Copyright © 2009–2025 OrientDB. All rights reserved.