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.WithScriptNested 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
ConstructorsConstructorDescriptionGeoTileCellIdSource(ValuesSource.GeoPoint valuesSource, int precision, GeoBoundingBox geoBoundingBox) -
Method Summary
Modifier and TypeMethodDescriptionprotected CellValuesboundedCellValues(MultiGeoPointValues values, GeoBoundingBox boundingBox) Generate a bounded iterator of grid-cellsprotected CellValuesGenerate an unbounded iterator of grid-cellsMethods inherited from class org.elasticsearch.search.aggregations.bucket.geogrid.CellIdSource
bytesValues, doubleValues, isFloatingPoint, longValues, precision, validPointMethods inherited from class org.elasticsearch.search.aggregations.support.ValuesSource.Numeric
docsWithValue, roundingPreparerMethods 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:CellIdSourceGenerate an unbounded iterator of grid-cells- Specified by:
unboundedCellValuesin classCellIdSource
-
boundedCellValues
Description copied from class:CellIdSourceGenerate a bounded iterator of grid-cells- Specified by:
boundedCellValuesin classCellIdSource
-