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
-
- All Implemented Interfaces:
java.util.Iterator<Spatial>
- Enclosing class:
- MVSpatialIndex
private final class MVSpatialIndex.FindBoundsCursor extends MVRTreeMap.RTreeCursor<VersionedValue<Value>>
A cursor for getBounds() method.
-
-
Field Summary
Fields Modifier and Type Field Description private doublebmaxxdprivate floatbmaxxfprivate doublebmaxydprivate floatbmaxyfprivate doublebminxdprivate floatbminxfprivate doublebminydprivate floatbminyfprivate intcolumnIdprivate booleanhasBoundsprivate TransactionMap<Spatial,Value>mapprivate SessionLocalsession
-
Constructor Summary
Constructors Constructor Description FindBoundsCursor(Page<Spatial,VersionedValue<Value>> root, Spatial filter, SessionLocal session, TransactionMap<Spatial,Value> map, int columnId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancheck(boolean leaf, Spatial key, Spatial test)Check a given key.(package private) ValuegetBounds()-
Methods inherited from class org.h2.mvstore.rtree.MVRTreeMap.RTreeCursor
hasNext, next, skip
-
-
-
-
Field Detail
-
session
private final SessionLocal session
-
map
private final TransactionMap<Spatial,Value> 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 Detail
-
FindBoundsCursor
FindBoundsCursor(Page<Spatial,VersionedValue<Value>> root, Spatial filter, SessionLocal session, TransactionMap<Spatial,Value> map, int columnId)
-
-
Method Detail
-
check
protected boolean check(boolean leaf, Spatial key, Spatial test)Description copied from class:MVRTreeMap.RTreeCursorCheck a given key.- Specified by:
checkin 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()
-
-