Class ValuesSource.GeoPoint
java.lang.Object
org.elasticsearch.search.aggregations.support.ValuesSource
org.elasticsearch.search.aggregations.support.ValuesSource.GeoPoint
- Direct Known Subclasses:
ValuesSource.GeoPoint.Fielddata
- Enclosing class:
- ValuesSource
public abstract static class ValuesSource.GeoPoint extends ValuesSource
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValuesSource.GeoPoint.FielddataNested classes/interfaces inherited from class org.elasticsearch.search.aggregations.support.ValuesSource
ValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.Numeric, ValuesSource.Range -
Field Summary
Fields Modifier and Type Field Description static ValuesSource.GeoPointEMPTY -
Constructor Summary
Constructors Constructor Description GeoPoint() -
Method Summary
Modifier and Type Method Description DocValueBitsdocsWithValue(org.apache.lucene.index.LeafReaderContext context)abstract MultiGeoPointValuesgeoPointValues(org.apache.lucene.index.LeafReaderContext context)java.util.function.Function<Rounding,Rounding.Prepared>roundingPreparer(org.apache.lucene.index.IndexReader reader)Build a function prepares rounding values to be called many times.Methods inherited from class org.elasticsearch.search.aggregations.support.ValuesSource
bytesValues, hasGlobalOrdinals, needsScores
-
Field Details
-
Constructor Details
-
GeoPoint
public GeoPoint()
-
-
Method Details
-
docsWithValue
public DocValueBits docsWithValue(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException- Specified by:
docsWithValuein classValuesSource- Throws:
java.io.IOException
-
roundingPreparer
public final java.util.function.Function<Rounding,Rounding.Prepared> roundingPreparer(org.apache.lucene.index.IndexReader reader) throws java.io.IOExceptionDescription copied from class:ValuesSourceBuild a function prepares rounding values to be called many times.This returns a Function because auto date histogram will need to call it many times over the course of running the aggregation.
- Specified by:
roundingPreparerin classValuesSource- Throws:
java.io.IOException
-
geoPointValues
public abstract MultiGeoPointValues geoPointValues(org.apache.lucene.index.LeafReaderContext context)
-