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
  • 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:
      docsWithValue in class ValuesSource
      Throws:
      java.io.IOException
    • roundingPreparer

      public final java.util.function.Function<Rounding,​Rounding.Prepared> roundingPreparer() throws java.io.IOException
      Description copied from class: ValuesSource
      Build 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:
      roundingPreparer in class ValuesSource
      Throws:
      java.io.IOException
    • geoPointValues

      public abstract MultiGeoPointValues geoPointValues​(org.apache.lucene.index.LeafReaderContext context)