Package org.h2.index
Interface SpatialIndex
- All Known Implementing Classes:
MVSpatialIndex,RegularQueryExpressionIndex
public interface SpatialIndex
A spatial index. Spatial indexes are used to speed up searching
spatial/geometric data.
-
Method Summary
Modifier and TypeMethodDescriptionfindByGeometry(SessionLocal session, SearchRow first, SearchRow last, boolean reverse, SearchRow intersection) Find a row or a list of rows and create a cursor to iterate over the result.
-
Method Details
-
findByGeometry
Cursor findByGeometry(SessionLocal session, SearchRow first, SearchRow last, boolean reverse, SearchRow intersection) Find a row or a list of rows and create a cursor to iterate over the result.- Parameters:
session- the sessionfirst- the lower boundlast- the upper boundreverse- if true, iterate in reverse (descending) orderintersection- the geometry which values should intersect with, or null for anything- Returns:
- the cursor to iterate over the results
-