public class OObjectLazyMap<TYPE> extends HashMap<Object,Object> implements Serializable, OObjectLazyMultivalueElement<Map<Object,TYPE>>, OLazyObjectMapInterface<TYPE>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
OObjectLazyMap(Object iSourceRecord,
Map<Object,OIdentifiable> iRecordMap,
boolean orphanRemoval) |
OObjectLazyMap(Object iSourceRecord,
Map<Object,OIdentifiable> iRecordMap,
Map<Object,Object> iSourceMap,
boolean orphanRemoval) |
clone, compute, computeIfAbsent, computeIfPresent, forEach, merge, putIfAbsent, remove, replace, replace, replaceAll
equals, hashCode
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public OObjectLazyMap(Object iSourceRecord, Map<Object,OIdentifiable> iRecordMap, boolean orphanRemoval)
public int size()
public boolean isEmpty()
public boolean containsKey(Object k)
containsKey
in interface Map<Object,Object>
containsKey
in class HashMap<Object,Object>
public boolean containsValue(Object o)
containsValue
in interface Map<Object,Object>
containsValue
in class HashMap<Object,Object>
public void clear()
public String getFetchPlan()
public boolean isConvertToRecord()
public void setConvertToRecord(boolean convertToRecord)
setConvertToRecord
in interface OLazyObjectMapInterface<TYPE>
public boolean isConverted()
isConverted
in interface OLazyObjectMapInterface<TYPE>
public OObjectLazyMap<TYPE> setFetchPlan(String fetchPlan)
public String toString()
toString
in class AbstractMap<Object,Object>
public Object getOrDefault(Object key, Object defaultValue)
getOrDefault
in interface Map<Object,Object>
getOrDefault
in class HashMap<Object,Object>
public Collection<Object> values()
public void setDirty()
public Map<Object,OIdentifiable> getUnderlying()
getUnderlying
in interface OObjectLazyMultivalueElement<Map<Object,TYPE>>
public void detach()
public void detach(boolean nonProxiedInstance)
detach
in interface OObjectLazyMultivalueElement<Map<Object,TYPE>>
public void detachAll(boolean nonProxiedInstance, Map<Object,Object> alreadyDetached, Map<Object,Object> lazyObjects)
detachAll
in interface OObjectLazyMultivalueElement<Map<Object,TYPE>>
public Map<Object,TYPE> getNonOrientInstance()
getNonOrientInstance
in interface OObjectLazyMultivalueElement<Map<Object,TYPE>>
protected void convertAll()
protected void convertAndDetachAll(boolean nonProxiedInstance, Map<Object,Object> alreadyDetached, Map<Object,Object> lazyObjects)
protected OObjectDatabaseTx getDatabase()
Copyright © 2009–2020 OrientDB. All rights reserved.