ScriptBytesValues
public abstract class SortingBinaryDocValues extends SortedBinaryDocValues
SortedBinaryDocValues
instances based on unsorted content.Modifier and Type | Field | Description |
---|---|---|
protected int |
count |
|
protected org.apache.lucene.util.BytesRefBuilder[] |
values |
Modifier | Constructor | Description |
---|---|---|
protected |
SortingBinaryDocValues() |
Modifier and Type | Method | 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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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