public abstract class SortedNumericDocValues extends DocIdSetIterator
Long.compare(long, long).NO_MORE_DOCS| Modifier | Constructor and Description | 
|---|---|
| protected  | SortedNumericDocValues()Sole constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract boolean | advanceExact(int target)Advance the iterator to exactly  targetand return whethertargethas a value. | 
| abstract int | docValueCount()Retrieves the number of values for the current document. | 
| abstract long | nextValue()Iterates to the next value in the current document. | 
advance, all, cost, docID, empty, nextDoc, range, slowAdvanceprotected SortedNumericDocValues()
public abstract long nextValue()
                        throws IOException
docValueCount() times
 for the document.IOExceptionpublic abstract int docValueCount()
advanceExact(int)
 returned false.public abstract boolean advanceExact(int target)
                              throws IOException
target and return whether
  target has a value.
  target must be greater than or equal to the current
  doc ID and must be a valid doc ID, ie. ≥ 0 and
  < maxDoc.
  After this method returns, DocIdSetIterator.docID() returns target.IOExceptionCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.