Class SortedBinaryDocValues
java.lang.Object
org.elasticsearch.index.fielddata.SortedBinaryDocValues
- Direct Known Subclasses:
IpScriptDocValues
,SortingBinaryDocValues
A list of per-document binary values, sorted
according to
BytesRef.compareTo(BytesRef)
.
There might be dups however.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
advanceExact(int doc)
Advance this instance to the given document idabstract int
Retrieves the number of values for the current document.abstract org.apache.lucene.util.BytesRef
Iterates to the next value in the current document.
-
Constructor Details
-
SortedBinaryDocValues
public SortedBinaryDocValues()
-
-
Method Details
-
advanceExact
Advance this instance to the given document id- Returns:
- true if there is a value for this document
- Throws:
IOException
-
docValueCount
public abstract int docValueCount()Retrieves the number of values for the current document. This must always be greater than zero. It is illegal to call this method afteradvanceExact(int)
returnedfalse
. -
nextValue
Iterates to the next value in the current document. Do not call this more thandocValueCount()
times for the document. Note that the returnedBytesRef
might be reused across invocations.- Throws:
IOException
-