Class ValuesSource

java.lang.Object
org.elasticsearch.search.aggregations.support.ValuesSource
Direct Known Subclasses:
ValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.Histogram, ValuesSource.Numeric, ValuesSource.Range

public abstract class ValuesSource
extends java.lang.Object
  • Constructor Details

  • Method Details

    • bytesValues

      public abstract SortedBinaryDocValues bytesValues​(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
      Get the current ValuesSource.Bytes.WithScript.BytesValues.
      Throws:
      java.io.IOException
    • docsWithValue

      public abstract DocValueBits docsWithValue​(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
      Throws:
      java.io.IOException
    • needsScores

      public boolean needsScores()
      Whether this values source needs scores.