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 double
bmaxxd
private float
bmaxxf
private double
bmaxyd
private float
bmaxyf
private double
bminxd
private float
bminxf
private double
bminyd
private float
bminyf
private int
columnId
private boolean
hasBounds
private TransactionMap<Spatial,Value>
map
private SessionLocal
session
-
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 boolean
check(boolean leaf, Spatial key, Spatial test)
Check a given key.(package private) Value
getBounds()
-
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.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()
-
-