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 SortedBinaryDocValues
bytesValues(org.apache.lucene.index.LeafReaderContext context)
Get the currentValuesSource.WithScript.BytesValues
.DocValueBits
docsWithValue(org.apache.lucene.index.LeafReaderContext context)
RangeType
rangeType()
-
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:ValuesSource
Get the currentValuesSource.WithScript.BytesValues
.- Specified by:
bytesValues
in classValuesSource
-
docsWithValue
public DocValueBits docsWithValue(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
- Specified by:
docsWithValue
in classValuesSource
- Throws:
java.io.IOException
-
rangeType
public RangeType rangeType()
-
-