Class ValuesSource.Range

Enclosing class:

public static class ValuesSource.Range
extends ValuesSource
  • Field Details

  • Constructor Details

  • Method Details

    • bytesValues

      public SortedBinaryDocValues bytesValues​(org.apache.lucene.index.LeafReaderContext context)
      Description copied from class: ValuesSource
      Get the current ValuesSource.Bytes.WithScript.BytesValues.
      Specified by:
      bytesValues in class ValuesSource
    • docsWithValue

      public DocValueBits docsWithValue​(org.apache.lucene.index.LeafReaderContext context) throws
      Specified by:
      docsWithValue in class ValuesSource
    • roundingPreparer

      public java.util.function.Function<Rounding,​Rounding.Prepared> roundingPreparer() throws
      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
    • rangeType

      public RangeType rangeType()