Class ValuesSource.Numeric

java.lang.Object
org.elasticsearch.search.aggregations.support.ValuesSource
org.elasticsearch.search.aggregations.support.ValuesSource.Numeric
Direct Known Subclasses:
CellIdSource, ValuesSource.Numeric.FieldData, ValuesSource.Numeric.Script, ValuesSource.Numeric.WithScript
Enclosing class:
ValuesSource

public abstract static class ValuesSource.Numeric
extends ValuesSource
  • Field Details

  • Constructor Details

  • Method Details

    • isFloatingPoint

      public abstract boolean isFloatingPoint()
      Whether the underlying data is floating-point or not.
    • longValues

      public abstract org.apache.lucene.index.SortedNumericDocValues longValues​(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
      Get the current SortedNumericDocValues.
      Throws:
      java.io.IOException
    • doubleValues

      public abstract SortedNumericDoubleValues doubleValues​(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
      Get the current SortedNumericDoubleValues.
      Throws:
      java.io.IOException
    • docsWithValue

      public DocValueBits docsWithValue​(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
      Specified by:
      docsWithValue in class ValuesSource
      Throws:
      java.io.IOException