Class IpScriptDocValues
java.lang.Object
org.elasticsearch.index.fielddata.SortedBinaryDocValues
org.elasticsearch.index.fielddata.IpScriptDocValues
public final class IpScriptDocValues extends SortedBinaryDocValues
-
Method Summary
Modifier and Type Method Description boolean
advanceExact(int docId)
Advance this instance to the given document idint
docValueCount()
Retrieves the number of values for the current document.org.apache.lucene.util.BytesRef
nextValue()
Iterates to the next value in the current document.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
advanceExact
public boolean advanceExact(int docId)Description copied from class:SortedBinaryDocValues
Advance this instance to the given document id- Specified by:
advanceExact
in classSortedBinaryDocValues
- Returns:
- true if there is a value for this document
-
nextValue
public org.apache.lucene.util.BytesRef nextValue()Description copied from class:SortedBinaryDocValues
Iterates to the next value in the current document. Do not call this more thanSortedBinaryDocValues.docValueCount()
times for the document. Note that the returnedBytesRef
might be reused across invocations.- Specified by:
nextValue
in classSortedBinaryDocValues
-
docValueCount
public int docValueCount()Description copied from class:SortedBinaryDocValues
Retrieves 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:
docValueCount
in classSortedBinaryDocValues
-