java.lang.Object
swim.db.QTreeMap<S>
- All Implemented Interfaces:
Iterable<swim.spatial.SpatialMap.Entry<swim.structure.Value,,S, swim.structure.Value>> swim.spatial.SpatialMap<swim.structure.Value,S, swim.structure.Value>
public class QTreeMap<S>
extends Object
implements swim.spatial.SpatialMap<swim.structure.Value,S,swim.structure.Value>
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidcommitAsync(Commit commit) booleancontainsKey(Object key) booleancontainsKey(swim.structure.Value key, S shape) booleancontainsValue(Object value) final Databasedatabase()swim.util.Cursor<swim.structure.Value>depthValueIterator(int maxDepth) protected voiddidFail(StoreException error) swim.structure.Valueswim.structure.ValuebooleanisEmpty()booleanisResident(boolean isResident) booleanisTransient(boolean isTransient) swim.util.Cursor<swim.spatial.SpatialMap.Entry<swim.structure.Value,S, swim.structure.Value>> iterator()swim.util.Cursor<swim.spatial.SpatialMap.Entry<swim.structure.Value,S, swim.structure.Value>> <K> swim.spatial.SpatialValueMap<K,S, swim.structure.Value> <K> swim.spatial.SpatialValueMap<K,S, swim.structure.Value> keyForm(swim.structure.Form<K> keyForm) swim.util.Cursor<swim.structure.Value>load()swim.structure.Valuefinal swim.structure.Valuename()swim.structure.Valueswim.structure.Valuefinal StoreSettingssettings()voidsetTreeDelegate(TreeDelegate treeDelegate) swim.math.Z2Form<S>intsize()snapshot()longspan()final QTreetree()final TreeDelegatelongtreeSize()trunk()<V> swim.spatial.SpatialValueMap<swim.structure.Value,S, V> valueClass(Class<V> valueClass) <V> swim.spatial.SpatialValueMap<swim.structure.Value,S, V> valueForm(swim.structure.Form<V> valueForm) swim.util.Cursor<swim.structure.Value>Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
QTreeMap
-
-
Method Details
-
trunk
-
settings
-
database
-
name
public final swim.structure.Value name() -
tree
-
treeDelegate
-
setTreeDelegate
-
shapeForm
-
isResident
public boolean isResident() -
isResident
-
isTransient
public boolean isTransient() -
isTransient
-
keyForm
public <K> swim.spatial.SpatialValueMap<K,S, keyFormswim.structure.Value> (swim.structure.Form<K> keyForm) -
keyClass
-
valueForm
public <V> swim.spatial.SpatialValueMap<swim.structure.Value,S, valueFormV> (swim.structure.Form<V> valueForm) -
valueClass
-
snapshot
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceswim.spatial.SpatialMap<swim.structure.Value,S, swim.structure.Value>
-
size
public int size()- Specified by:
sizein interfaceswim.spatial.SpatialMap<swim.structure.Value,S, swim.structure.Value>
-
span
public long span() -
treeSize
public long treeSize() -
containsKey
- Specified by:
containsKeyin interfaceswim.spatial.SpatialMap<swim.structure.Value,S, swim.structure.Value>
-
containsKey
- Specified by:
containsKeyin interfaceswim.spatial.SpatialMap<swim.structure.Value,S, swim.structure.Value>
-
containsValue
- Specified by:
containsValuein interfaceswim.spatial.SpatialMap<swim.structure.Value,S, swim.structure.Value>
-
get
- Specified by:
getin interfaceswim.spatial.SpatialMap<swim.structure.Value,S, swim.structure.Value>
-
get
- Specified by:
getin interfaceswim.spatial.SpatialMap<swim.structure.Value,S, swim.structure.Value>
-
put
- Specified by:
putin interfaceswim.spatial.SpatialMap<swim.structure.Value,S, swim.structure.Value>
-
move
public swim.structure.Value move(swim.structure.Value key, S oldShape, S newShape, swim.structure.Value newValue) - Specified by:
movein interfaceswim.spatial.SpatialMap<swim.structure.Value,S, swim.structure.Value>
-
remove
- Specified by:
removein interfaceswim.spatial.SpatialMap<swim.structure.Value,S, swim.structure.Value>
-
clear
public void clear()- Specified by:
clearin interfaceswim.spatial.SpatialMap<swim.structure.Value,S, swim.structure.Value>
-
iterator
public swim.util.Cursor<swim.spatial.SpatialMap.Entry<swim.structure.Value,S, iteratorswim.structure.Value>> (S shape) - Specified by:
iteratorin interfaceswim.spatial.SpatialMap<swim.structure.Value,S, swim.structure.Value>
-
iterator
public swim.util.Cursor<swim.spatial.SpatialMap.Entry<swim.structure.Value,S, iterator()swim.structure.Value>> -
keyIterator
public swim.util.Cursor<swim.structure.Value> keyIterator()- Specified by:
keyIteratorin interfaceswim.spatial.SpatialMap<swim.structure.Value,S, swim.structure.Value>
-
valueIterator
public swim.util.Cursor<swim.structure.Value> valueIterator()- Specified by:
valueIteratorin interfaceswim.spatial.SpatialMap<swim.structure.Value,S, swim.structure.Value>
-
depthValueIterator
public swim.util.Cursor<swim.structure.Value> depthValueIterator(int maxDepth) -
didFail
-
load
-
commitAsync
-
commit
- Throws:
InterruptedException
-