Package org.h2.mvstore.db
Class MVSpatialIndex.FindBoundsCursor
java.lang.Object
org.h2.mvstore.rtree.MVRTreeMap.RTreeCursor<VersionedValue<Value>>
org.h2.mvstore.db.MVSpatialIndex.FindBoundsCursor
- Enclosing class:
MVSpatialIndex
private final class MVSpatialIndex.FindBoundsCursor
extends MVRTreeMap.RTreeCursor<VersionedValue<Value>>
A cursor for getBounds() method.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate double
private float
private double
private float
private double
private float
private double
private float
private final int
private boolean
private final TransactionMap
<Spatial, Value> private final SessionLocal
-
Constructor Summary
ConstructorsConstructorDescriptionFindBoundsCursor
(Page<Spatial, VersionedValue<Value>> root, Spatial filter, SessionLocal session, TransactionMap<Spatial, Value> map, int columnId) -
Method Summary
Methods inherited from class org.h2.mvstore.rtree.MVRTreeMap.RTreeCursor
hasNext, next, skip
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
session
-
map
-
columnId
private final int columnId -
hasBounds
private boolean hasBounds -
bminxf
private float bminxf -
bmaxxf
private float bmaxxf -
bminyf
private float bminyf -
bmaxyf
private float bmaxyf -
bminxd
private double bminxd -
bmaxxd
private double bmaxxd -
bminyd
private double bminyd -
bmaxyd
private double bmaxyd
-
-
Constructor Details
-
FindBoundsCursor
FindBoundsCursor(Page<Spatial, VersionedValue<Value>> root, Spatial filter, SessionLocal session, TransactionMap<Spatial, Value> map, int columnId)
-
-
Method Details
-
check
Description copied from class:MVRTreeMap.RTreeCursor
Check a given key.- Specified by:
check
in classMVRTreeMap.RTreeCursor<VersionedValue<Value>>
- Parameters:
leaf
- if the key is from a leaf pagekey
- the stored keytest
- the user-supplied test key- Returns:
- true if there is a match
-
getBounds
Value getBounds()
-