Module org.elasticsearch.server
Class SourceValueFetcherSortedBinaryIndexFieldData.SourceValueFetcherSortedBinaryDocValues
java.lang.Object
org.elasticsearch.index.fielddata.SortedBinaryDocValues
org.elasticsearch.index.fielddata.SourceValueFetcherSortedBinaryIndexFieldData.SourceValueFetcherSortedBinaryDocValues
- All Implemented Interfaces:
SourceValueFetcherIndexFieldData.ValueFetcherDocValues
- Enclosing class:
- SourceValueFetcherSortedBinaryIndexFieldData
public static class SourceValueFetcherSortedBinaryIndexFieldData.SourceValueFetcherSortedBinaryDocValues
extends SortedBinaryDocValues
implements SourceValueFetcherIndexFieldData.ValueFetcherDocValues
-
Constructor Summary
ConstructorDescriptionSourceValueFetcherSortedBinaryDocValues
(org.apache.lucene.index.LeafReaderContext leafReaderContext, ValueFetcher valueFetcher, SourceProvider sourceProvider) -
Method Summary
Modifier and TypeMethodDescriptionboolean
advanceExact
(int doc) Advance this instance to the given document idint
Retrieves the number of values for the current document.org.apache.lucene.util.BytesRef
Iterates to the next value in the current document.
-
Constructor Details
-
SourceValueFetcherSortedBinaryDocValues
public SourceValueFetcherSortedBinaryDocValues(org.apache.lucene.index.LeafReaderContext leafReaderContext, ValueFetcher valueFetcher, SourceProvider sourceProvider)
-
-
Method Details
-
advanceExact
Description copied from class:SortedBinaryDocValues
Advance this instance to the given document id- Specified by:
advanceExact
in classSortedBinaryDocValues
- Returns:
- true if there is a value for this document
- Throws:
IOException
-
docValueCount
public int docValueCount()Description copied from class:SortedBinaryDocValues
Retrieves the number of values for the current document. This must always be greater than zero. It is illegal to call this method afterSortedBinaryDocValues.advanceExact(int)
returnedfalse
.- Specified by:
docValueCount
in classSortedBinaryDocValues
-
nextValue
Description copied from class:SortedBinaryDocValues
Iterates to the next value in the current document. Do not call this more thanSortedBinaryDocValues.docValueCount()
times for the document. Note that the returnedBytesRef
might be reused across invocations.- Specified by:
nextValue
in classSortedBinaryDocValues
- Throws:
IOException
-