Package org.h2.index
Interface SpatialIndex
-
- All Known Implementing Classes:
MVSpatialIndex
,ViewIndex
public interface SpatialIndex
A spatial index. Spatial indexes are used to speed up searching spatial/geometric data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Cursor
findByGeometry(SessionLocal session, SearchRow first, SearchRow last, SearchRow intersection)
Find a row or a list of rows and create a cursor to iterate over the result.
-
-
-
Method Detail
-
findByGeometry
Cursor findByGeometry(SessionLocal session, SearchRow first, SearchRow last, 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 boundintersection
- the geometry which values should intersect with, or null for anything- Returns:
- the cursor to iterate over the results
-
-