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
CellIdSource implementation for GeoTile aggregation-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.bucket.geogrid.CellIdSource
CellIdSource.CellMultiValues, CellIdSource.CellSingleValueNested 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 org.apache.lucene.index.SortedNumericDocValuesboundedCellMultiValues(MultiGeoPointValues values, GeoBoundingBox boundingBox) Generate a bounded iterator of grid-cells for multi-value case.protected org.apache.lucene.index.NumericDocValuesboundedCellSingleValue(GeoPointValues values, GeoBoundingBox boundingBox) Generate a bounded iterator of grid-cells for singleton case.protected org.apache.lucene.index.SortedNumericDocValuesGenerate an unbounded iterator of grid-cells for multi-value case.protected org.apache.lucene.index.NumericDocValuesGenerate an unbounded iterator of grid-cells for singleton case.Methods 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
-
unboundedCellSingleValue
Description copied from class:CellIdSourceGenerate an unbounded iterator of grid-cells for singleton case.- Specified by:
unboundedCellSingleValuein classCellIdSource
-
boundedCellSingleValue
protected org.apache.lucene.index.NumericDocValues boundedCellSingleValue(GeoPointValues values, GeoBoundingBox boundingBox) Description copied from class:CellIdSourceGenerate a bounded iterator of grid-cells for singleton case.- Specified by:
boundedCellSingleValuein classCellIdSource
-
unboundedCellMultiValues
protected org.apache.lucene.index.SortedNumericDocValues unboundedCellMultiValues(MultiGeoPointValues values) Description copied from class:CellIdSourceGenerate an unbounded iterator of grid-cells for multi-value case.- Specified by:
unboundedCellMultiValuesin classCellIdSource
-
boundedCellMultiValues
protected org.apache.lucene.index.SortedNumericDocValues boundedCellMultiValues(MultiGeoPointValues values, GeoBoundingBox boundingBox) Description copied from class:CellIdSourceGenerate a bounded iterator of grid-cells for multi-value case.- Specified by:
boundedCellMultiValuesin classCellIdSource
-