java.lang.Object
swim.store.db.SpatialDataModel<S>
- All Implemented Interfaces:
Iterable<SpatialMap.Entry<Value,,S, Value>> SpatialData<Value,,S, Value> QTreeDelegate,TreeDelegate,SpatialMap<Value,,S, Value> DataBinding,SpatialDataBinding<S>
-
Nested Class Summary
Nested classes/interfaces inherited from interface swim.spatial.SpatialMap
SpatialMap.Entry<K,S, V>, SpatialMap.SimpleEntry<K, S, V> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SpatialDataContext<S>protected final Valueprotected StoreBinding -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidclose()booleancontainsKey(Object key) booleancontainsKey(Value key, S shape) booleancontainsValue(Object value) final Databasedatabase()longdataSize()booleanisEmpty()booleanisResident(boolean isResident) booleanisTransient(boolean isTransient) iterator()<K2> SpatialData<K2,S, Value> keyForm()<K2> SpatialData<K2,S, Value> longfinal Valuename()voidqtreeDidMove(QTree newTree, QTree oldTree, Value key, long newX, long newY, Value newValue, long oldX, long oldY, Value oldValue) voidqtreeDidRemove(QTree newTree, QTree oldTree, Value key, long x, long y, Value oldValue) voidqtreeDidUpdate(QTree newTree, QTree oldTree, Value key, long x, long y, Value newValue, Value oldValue) voidsetDataContext(SpatialDataContext<S> dataContext) voidsetStoreBinding(StoreBinding storeBinding) intsize()snapshot()final Storestore()tree()voidtreeDidChange(Tree newTree, Tree oldTree) voidtreeDidClear(Tree newTree, Tree oldTree) voidtreeDidCommit(Tree newTree, Tree oldTree) voidtreeDidLoadPage(Page page) final ValuetreeName()<T> TunwrapData(Class<T> dataClass) <V2> SpatialData<Value,S, V2> valueClass(Class<V2> valueClass) <V2> SpatialData<Value,S, V2> 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
-
Field Details
-
name
-
tree
-
dataContext
-
storeBinding
-
-
Constructor Details
-
SpatialDataModel
-
-
Method Details
-
dataContext
- Specified by:
dataContextin interfaceDataBinding- Specified by:
dataContextin interfaceSpatialDataBinding<S>
-
setDataContext
- Specified by:
setDataContextin interfaceSpatialDataBinding<S>
-
storeBinding
- Specified by:
storeBindingin interfaceDataBinding
-
setStoreBinding
- Specified by:
setStoreBindingin interfaceDataBinding
-
unwrapData
- Specified by:
unwrapDatain interfaceDataBinding
-
tree
-
database
-
store
-
treeName
-
name
- Specified by:
namein interfaceDataBinding- Specified by:
namein interfaceSpatialData<Value,S, Value>
-
keyForm
- Specified by:
keyFormin interfaceSpatialData<Value,S, Value>
-
keyForm
- Specified by:
keyFormin interfaceSpatialData<Value,S, Value>
-
keyClass
- Specified by:
keyClassin interfaceSpatialData<Value,S, Value>
-
dataSize
public long dataSize()- Specified by:
dataSizein interfaceDataBinding
-
leafCount
public long leafCount() -
shapeForm
- Specified by:
shapeFormin interfaceSpatialData<Value,S, Value>
-
valueForm
- Specified by:
valueFormin interfaceSpatialData<Value,S, Value>
-
valueForm
- Specified by:
valueFormin interfaceSpatialData<Value,S, Value>
-
valueClass
- Specified by:
valueClassin interfaceSpatialData<Value,S, Value>
-
isResident
public boolean isResident()- Specified by:
isResidentin interfaceDataBinding- Specified by:
isResidentin interfaceSpatialData<Value,S, Value>
-
isResident
- Specified by:
isResidentin interfaceDataBinding- Specified by:
isResidentin interfaceSpatialData<Value,S, Value> - Specified by:
isResidentin interfaceSpatialDataBinding<S>
-
isTransient
public boolean isTransient()- Specified by:
isTransientin interfaceDataBinding- Specified by:
isTransientin interfaceSpatialData<Value,S, Value>
-
isTransient
- Specified by:
isTransientin interfaceDataBinding- Specified by:
isTransientin interfaceSpatialData<Value,S, Value> - Specified by:
isTransientin interfaceSpatialDataBinding<S>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceSpatialMap<Value,S, Value>
-
size
public int size()- Specified by:
sizein interfaceSpatialMap<Value,S, Value>
-
containsKey
- Specified by:
containsKeyin interfaceSpatialMap<Value,S, Value>
-
containsKey
- Specified by:
containsKeyin interfaceSpatialMap<Value,S, Value>
-
containsValue
- Specified by:
containsValuein interfaceSpatialMap<Value,S, Value>
-
get
- Specified by:
getin interfaceSpatialMap<Value,S, Value>
-
get
- Specified by:
getin interfaceSpatialMap<Value,S, Value>
-
put
- Specified by:
putin interfaceSpatialMap<Value,S, Value>
-
move
- Specified by:
movein interfaceSpatialMap<Value,S, Value>
-
remove
- Specified by:
removein interfaceSpatialMap<Value,S, Value>
-
clear
public void clear()- Specified by:
clearin interfaceSpatialMap<Value,S, Value>
-
iterator
- Specified by:
iteratorin interfaceSpatialMap<Value,S, Value>
-
iterator
-
keyIterator
- Specified by:
keyIteratorin interfaceSpatialMap<Value,S, Value>
-
valueIterator
- Specified by:
valueIteratorin interfaceSpatialMap<Value,S, Value>
-
snapshot
- Specified by:
snapshotin interfaceSpatialData<Value,S, Value>
-
close
public void close()- Specified by:
closein interfaceDataBinding- Specified by:
closein interfaceSpatialData<Value,S, Value>
-
treeDidLoadPage
- Specified by:
treeDidLoadPagein interfaceTreeDelegate
-
treeDidChange
- Specified by:
treeDidChangein interfaceTreeDelegate
-
treeDidCommit
- Specified by:
treeDidCommitin interfaceTreeDelegate
-
treeDidClear
- Specified by:
treeDidClearin interfaceTreeDelegate
-
qtreeDidUpdate
public void qtreeDidUpdate(QTree newTree, QTree oldTree, Value key, long x, long y, Value newValue, Value oldValue) - Specified by:
qtreeDidUpdatein interfaceQTreeDelegate
-
qtreeDidMove
public void qtreeDidMove(QTree newTree, QTree oldTree, Value key, long newX, long newY, Value newValue, long oldX, long oldY, Value oldValue) - Specified by:
qtreeDidMovein interfaceQTreeDelegate
-
qtreeDidRemove
- Specified by:
qtreeDidRemovein interfaceQTreeDelegate
-