Module org.elasticsearch.server
Class SourceValueFetcherSortedNumericIndexFieldData.SourceValueFetcherSortedNumericDocValues
java.lang.Object
org.elasticsearch.index.fielddata.SortedNumericLongValues
org.elasticsearch.index.fielddata.SourceValueFetcherSortedNumericIndexFieldData.SourceValueFetcherSortedNumericDocValues
- All Implemented Interfaces:
SourceValueFetcherIndexFieldData.ValueFetcherDocValues
- Direct Known Subclasses:
SourceValueFetcherMultiGeoPointIndexFieldData.SourceValueFetcherMultiGeoPointDocValues
- Enclosing class:
SourceValueFetcherSortedNumericIndexFieldData
public static class SourceValueFetcherSortedNumericIndexFieldData.SourceValueFetcherSortedNumericDocValues
extends SortedNumericLongValues
implements SourceValueFetcherIndexFieldData.ValueFetcherDocValues
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.lucene.index.LeafReaderContextprotected final SourceProviderprotected final ValueFetcherFields inherited from class org.elasticsearch.index.fielddata.SortedNumericLongValues
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionSourceValueFetcherSortedNumericDocValues(org.apache.lucene.index.LeafReaderContext leafReaderContext, ValueFetcher valueFetcher, SourceProvider sourceProvider) -
Method Summary
Modifier and TypeMethodDescriptionbooleanadvanceExact(int doc) Advance the iterator to exactlytargetand return whethertargethas a value.intRetrieves the number of values for the current document.longIterates to the next value in the current document.Methods inherited from class org.elasticsearch.index.fielddata.SortedNumericLongValues
singleton, unwrapSingleton, wrap
-
Field Details
-
leafReaderContext
protected final org.apache.lucene.index.LeafReaderContext leafReaderContext -
valueFetcher
-
sourceProvider
-
values
-
iterator
-
-
Constructor Details
-
SourceValueFetcherSortedNumericDocValues
public SourceValueFetcherSortedNumericDocValues(org.apache.lucene.index.LeafReaderContext leafReaderContext, ValueFetcher valueFetcher, SourceProvider sourceProvider)
-
-
Method Details
-
advanceExact
Description copied from class:SortedNumericLongValuesAdvance the iterator to exactlytargetand return whethertargethas a value.targetmust be greater than or equal to the current doc ID and must be a valid doc ID, ie. ≥ 0 and <maxDoc.- Specified by:
advanceExactin classSortedNumericLongValues- Throws:
IOException
-
docValueCount
public int docValueCount()Description copied from class:SortedNumericLongValuesRetrieves the number of values for the current document. This must always be greater than zero. It is illegal to call this method afterSortedNumericLongValues.advanceExact(int)returnedfalse.- Specified by:
docValueCountin classSortedNumericLongValues
-
nextValue
public long nextValue()Description copied from class:SortedNumericLongValuesIterates to the next value in the current document. Do not call this more thanSortedNumericLongValues.docValueCount()times for the document.- Specified by:
nextValuein classSortedNumericLongValues
-