Class SortingBinaryDocValues
java.lang.Object
org.elasticsearch.index.fielddata.SortedBinaryDocValues
org.elasticsearch.index.fielddata.SortingBinaryDocValues
- Direct Known Subclasses:
ScriptBytesValues,StringScriptDocValues
Base class for building
SortedBinaryDocValues instances based on unsorted content.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.elasticsearch.index.fielddata.SortedBinaryDocValues
advanceExact
-
Field Details
-
count
protected int count -
values
protected org.apache.lucene.util.BytesRefBuilder[] values
-
-
Constructor Details
-
SortingBinaryDocValues
protected SortingBinaryDocValues()
-
-
Method Details
-
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
-