Module org.elasticsearch.server
Class GeoTileCellIdSource
java.lang.Object
org.elasticsearch.search.aggregations.support.ValuesSource
org.elasticsearch.search.aggregations.support.ValuesSource.Numeric
org.elasticsearch.search.aggregations.bucket.geogrid.CellIdSource
org.elasticsearch.search.aggregations.bucket.geogrid.GeoTileCellIdSource
Class to help convert
MultiGeoPointValues
to GeoTile CellValues
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.support.ValuesSource.Numeric
ValuesSource.Numeric.FieldData, ValuesSource.Numeric.Script, ValuesSource.Numeric.WithScript
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.support.ValuesSource
ValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.Numeric, ValuesSource.Range
-
Field Summary
Fields inherited from class org.elasticsearch.search.aggregations.support.ValuesSource.Numeric
EMPTY
-
Constructor Summary
ConstructorDescriptionGeoTileCellIdSource
(ValuesSource.GeoPoint valuesSource, int precision, GeoBoundingBox geoBoundingBox) -
Method Summary
Modifier and TypeMethodDescriptionprotected CellValues
boundedCellValues
(MultiGeoPointValues values, GeoBoundingBox boundingBox) Generate a bounded iterator of grid-cellsprotected CellValues
Generate an unbounded iterator of grid-cellsMethods inherited from class org.elasticsearch.search.aggregations.bucket.geogrid.CellIdSource
bytesValues, doubleValues, isFloatingPoint, longValues, precision, validPoint
Methods inherited from class org.elasticsearch.search.aggregations.support.ValuesSource.Numeric
docsWithValue, roundingPreparer
Methods inherited from class org.elasticsearch.search.aggregations.support.ValuesSource
hasOrdinals, needsScores
-
Constructor Details
-
GeoTileCellIdSource
public GeoTileCellIdSource(ValuesSource.GeoPoint valuesSource, int precision, GeoBoundingBox geoBoundingBox)
-
-
Method Details
-
unboundedCellValues
Description copied from class:CellIdSource
Generate an unbounded iterator of grid-cells- Specified by:
unboundedCellValues
in classCellIdSource
-
boundedCellValues
Description copied from class:CellIdSource
Generate a bounded iterator of grid-cells- Specified by:
boundedCellValues
in classCellIdSource
-