Class ValuesSource.Range
- java.lang.Object
-
- org.elasticsearch.search.aggregations.support.ValuesSource
-
- org.elasticsearch.search.aggregations.support.ValuesSource.Range
-
- Enclosing class:
- ValuesSource
public static class ValuesSource.Range extends ValuesSource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.support.ValuesSource
ValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.Numeric, ValuesSource.Range, ValuesSource.WithScript
-
-
Field Summary
Fields Modifier and Type Field Description protected IndexFieldData<?>indexFieldData
-
Constructor Summary
Constructors Constructor Description Range(IndexFieldData<?> indexFieldData, RangeType rangeType)
-
Method Summary
Modifier and Type Method Description SortedBinaryDocValuesbytesValues(org.apache.lucene.index.LeafReaderContext context)Get the currentValuesSource.WithScript.BytesValues.DocValueBitsdocsWithValue(org.apache.lucene.index.LeafReaderContext context)RangeTyperangeType()-
Methods inherited from class org.elasticsearch.search.aggregations.support.ValuesSource
needsScores
-
-
-
-
Field Detail
-
indexFieldData
protected final IndexFieldData<?> indexFieldData
-
-
Constructor Detail
-
Range
public Range(IndexFieldData<?> indexFieldData, RangeType rangeType)
-
-
Method Detail
-
bytesValues
public SortedBinaryDocValues bytesValues(org.apache.lucene.index.LeafReaderContext context)
Description copied from class:ValuesSourceGet the currentValuesSource.WithScript.BytesValues.- Specified by:
bytesValuesin classValuesSource
-
docsWithValue
public DocValueBits docsWithValue(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
- Specified by:
docsWithValuein classValuesSource- Throws:
java.io.IOException
-
rangeType
public RangeType rangeType()
-
-