public abstract class SortingBinaryDocValues extends SortedBinaryDocValues
SortedBinaryDocValues
instances based on unsorted content.Modifier and Type | Field and Description |
---|---|
protected int |
count |
protected org.apache.lucene.util.BytesRefBuilder[] |
values |
Modifier | Constructor and Description |
---|---|
protected |
SortingBinaryDocValues() |
Modifier and Type | Method and Description |
---|---|
int |
docValueCount()
Retrieves the number of values for the current document.
|
protected void |
grow()
|
org.apache.lucene.util.BytesRef |
nextValue()
Iterates to the next value in the current document.
|
protected void |
sort()
|
advanceExact
protected int count
protected org.apache.lucene.util.BytesRefBuilder[] values
protected final void grow()
protected final void sort()
public int docValueCount()
SortedBinaryDocValues
SortedBinaryDocValues.advanceExact(int)
returned false
.docValueCount
in class SortedBinaryDocValues
public final org.apache.lucene.util.BytesRef nextValue()
SortedBinaryDocValues
SortedBinaryDocValues.docValueCount()
times for the document.
Note that the returned BytesRef
might be reused across invocations.nextValue
in class SortedBinaryDocValues