Class ValuesSource.Bytes

Direct Known Subclasses:
ValuesSource.Bytes.FieldData, ValuesSource.Bytes.Script, ValuesSource.Bytes.WithOrdinals, ValuesSource.Bytes.WithScript
Enclosing class:

public abstract static class ValuesSource.Bytes
extends ValuesSource
  • Constructor Details

    • Bytes

      public Bytes()
  • Method Details

    • docsWithValue

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

      public final 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