Class ValuesSource
- java.lang.Object
-
- org.elasticsearch.search.aggregations.support.ValuesSource
-
- Direct Known Subclasses:
ValuesSource.Bytes
,ValuesSource.GeoPoint
,ValuesSource.Numeric
public abstract class ValuesSource extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ValuesSource.Bytes
static class
ValuesSource.GeoPoint
static class
ValuesSource.Numeric
static class
ValuesSource.WithScript
-
Constructor Summary
Constructors Constructor Description ValuesSource()
-
Method Summary
Modifier and Type Method Description abstract SortedBinaryDocValues
bytesValues(org.apache.lucene.index.LeafReaderContext context)
Get the currentValuesSource.WithScript.BytesValues
.abstract DocValueBits
docsWithValue(org.apache.lucene.index.LeafReaderContext context)
boolean
needsScores()
Whether this values source needs scores.
-
-
-
Method Detail
-
bytesValues
public abstract SortedBinaryDocValues bytesValues(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
Get the currentValuesSource.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.
-
-