Package org.h2.mvstore.rtree
Class MVRTreeMap.IntersectsRTreeCursor<V>
- java.lang.Object
-
- org.h2.mvstore.rtree.MVRTreeMap.RTreeCursor<V>
-
- org.h2.mvstore.rtree.MVRTreeMap.IntersectsRTreeCursor<V>
-
- All Implemented Interfaces:
java.util.Iterator<Spatial>
- Enclosing class:
- MVRTreeMap<V>
private static final class MVRTreeMap.IntersectsRTreeCursor<V> extends MVRTreeMap.RTreeCursor<V>
-
-
Field Summary
Fields Modifier and Type Field Description private SpatialDataType
keyType
-
Constructor Summary
Constructors Constructor Description IntersectsRTreeCursor(Page<Spatial,V> root, Spatial filter, SpatialDataType keyType)
-
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.-
Methods inherited from class org.h2.mvstore.rtree.MVRTreeMap.RTreeCursor
fetchNext, hasNext, next, skip
-
-
-
-
Field Detail
-
keyType
private final SpatialDataType keyType
-
-
Constructor Detail
-
IntersectsRTreeCursor
public IntersectsRTreeCursor(Page<Spatial,V> root, Spatial filter, SpatialDataType keyType)
-
-
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<V>
- 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
-
-