Class ValuesSource.Bytes.WithOrdinals
- java.lang.Object
-
- org.elasticsearch.search.aggregations.support.ValuesSource
-
- org.elasticsearch.search.aggregations.support.ValuesSource.Bytes
-
- org.elasticsearch.search.aggregations.support.ValuesSource.Bytes.WithOrdinals
-
- Direct Known Subclasses:
ValuesSource.Bytes.WithOrdinals.FieldData
- Enclosing class:
- ValuesSource.Bytes
public abstract static class ValuesSource.Bytes.WithOrdinals extends ValuesSource.Bytes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ValuesSource.Bytes.WithOrdinals.FieldData
-
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.support.ValuesSource.Bytes
ValuesSource.Bytes.Script, ValuesSource.Bytes.WithOrdinals
-
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.support.ValuesSource
ValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.Numeric, ValuesSource.WithScript
-
-
Field Summary
Fields Modifier and Type Field Description static ValuesSource.Bytes.WithOrdinals
EMPTY
-
Constructor Summary
Constructors Constructor Description WithOrdinals()
-
Method Summary
Modifier and Type Method Description DocValueBits
docsWithValue(org.apache.lucene.index.LeafReaderContext context)
long
globalMaxOrd(org.apache.lucene.search.IndexSearcher indexSearcher)
abstract java.util.function.LongUnaryOperator
globalOrdinalsMapping(org.apache.lucene.index.LeafReaderContext context)
Returns a mapping from segment ordinals to global ordinals.abstract org.apache.lucene.index.SortedSetDocValues
globalOrdinalsValues(org.apache.lucene.index.LeafReaderContext context)
abstract org.apache.lucene.index.SortedSetDocValues
ordinalsValues(org.apache.lucene.index.LeafReaderContext context)
-
Methods inherited from class org.elasticsearch.search.aggregations.support.ValuesSource
bytesValues, needsScores
-
-
-
-
Field Detail
-
EMPTY
public static final ValuesSource.Bytes.WithOrdinals EMPTY
-
-
Method Detail
-
docsWithValue
public DocValueBits docsWithValue(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
- Overrides:
docsWithValue
in classValuesSource.Bytes
- Throws:
java.io.IOException
-
ordinalsValues
public abstract org.apache.lucene.index.SortedSetDocValues ordinalsValues(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
- Throws:
java.io.IOException
-
globalOrdinalsValues
public abstract org.apache.lucene.index.SortedSetDocValues globalOrdinalsValues(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
- Throws:
java.io.IOException
-
globalOrdinalsMapping
public abstract java.util.function.LongUnaryOperator globalOrdinalsMapping(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
Returns a mapping from segment ordinals to global ordinals.- Throws:
java.io.IOException
-
globalMaxOrd
public long globalMaxOrd(org.apache.lucene.search.IndexSearcher indexSearcher) throws java.io.IOException
- Throws:
java.io.IOException
-
-