Class SortingBinaryDocValues
- java.lang.Object
-
- org.elasticsearch.index.fielddata.SortedBinaryDocValues
-
- org.elasticsearch.index.fielddata.SortingBinaryDocValues
-
- Direct Known Subclasses:
ScriptBytesValues
public abstract class SortingBinaryDocValues extends SortedBinaryDocValues
Base class for buildingSortedBinaryDocValuesinstances based on unsorted content.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSortingBinaryDocValues()
-
Method Summary
Modifier and Type Method Description intdocValueCount()Retrieves the number of values for the current document.protected voidgrow()org.apache.lucene.util.BytesRefnextValue()Iterates to the next value in the current document.protected voidsort()-
Methods inherited from class org.elasticsearch.index.fielddata.SortedBinaryDocValues
advanceExact
-
-
-
-
Method Detail
-
grow
protected final void grow()
-
sort
protected final void sort()
-
docValueCount
public int docValueCount()
Description copied from class:SortedBinaryDocValuesRetrieves 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:
docValueCountin classSortedBinaryDocValues
-
nextValue
public final org.apache.lucene.util.BytesRef nextValue()
Description copied from class:SortedBinaryDocValuesIterates to the next value in the current document. Do not call this more thanSortedBinaryDocValues.docValueCount()times for the document. Note that the returnedBytesRefmight be reused across invocations.- Specified by:
nextValuein classSortedBinaryDocValues
-
-