Class ValuesSource.Numeric
- java.lang.Object
-
- org.elasticsearch.search.aggregations.support.ValuesSource
-
- org.elasticsearch.search.aggregations.support.ValuesSource.Numeric
-
- Direct Known Subclasses:
ValuesSource.Numeric.FieldData
,ValuesSource.Numeric.Script
,ValuesSource.Numeric.WithScript
- Enclosing class:
- ValuesSource
public abstract static class ValuesSource.Numeric extends ValuesSource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ValuesSource.Numeric.FieldData
static class
ValuesSource.Numeric.Script
static class
ValuesSource.Numeric.WithScript
-
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.support.ValuesSource
ValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.Numeric
-
-
Field Summary
Fields Modifier and Type Field Description static ValuesSource.Numeric
EMPTY
-
Constructor Summary
Constructors Constructor Description Numeric()
-
Method Summary
Modifier and Type Method Description DocValueBits
docsWithValue(org.apache.lucene.index.LeafReaderContext context)
abstract SortedNumericDoubleValues
doubleValues(org.apache.lucene.index.LeafReaderContext context)
Get the currentSortedNumericDoubleValues
.abstract boolean
isFloatingPoint()
Whether the underlying data is floating-point or not.abstract org.apache.lucene.index.SortedNumericDocValues
longValues(org.apache.lucene.index.LeafReaderContext context)
Get the currentSortedNumericDocValues
.-
Methods inherited from class org.elasticsearch.search.aggregations.support.ValuesSource
bytesValues, needsScores
-
-
-
-
Field Detail
-
EMPTY
public static final ValuesSource.Numeric EMPTY
-
-
Method Detail
-
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 currentSortedNumericDocValues
.- Throws:
java.io.IOException
-
doubleValues
public abstract SortedNumericDoubleValues doubleValues(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
Get the currentSortedNumericDoubleValues
.- Throws:
java.io.IOException
-
docsWithValue
public DocValueBits docsWithValue(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
- Specified by:
docsWithValue
in classValuesSource
- Throws:
java.io.IOException
-
-