Class StGeohex.GeoHexBoundedGrid
java.lang.Object
org.elasticsearch.xpack.esql.expression.function.scalar.spatial.StGeohex.GeoHexBoundedGrid
- All Implemented Interfaces:
SpatialGridFunction.BoundedGrid
- Enclosing class:
StGeohex
protected static class StGeohex.GeoHexBoundedGrid
extends Object
implements SpatialGridFunction.BoundedGrid
When checking grid cells with bounds, we need to check if the cell is valid (intersects with the bounds).
This uses GeoHexBoundedPredicate to check if the cell is valid.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionlongcalculateGridId(org.elasticsearch.geometry.Point point) int
-
Method Details
-
calculateGridId
public long calculateGridId(org.elasticsearch.geometry.Point point) - Specified by:
calculateGridIdin interfaceSpatialGridFunction.BoundedGrid
-
precision
public int precision()- Specified by:
precisionin interfaceSpatialGridFunction.BoundedGrid
-