Package org.apache.lucene.tests.index
Class AssertingLeafReader.AssertingSortedNumericDocValues
- java.lang.Object
-
- org.apache.lucene.search.DocIdSetIterator
-
- org.apache.lucene.index.SortedNumericDocValues
-
- org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedNumericDocValues
-
- Enclosing class:
- AssertingLeafReader
public static class AssertingLeafReader.AssertingSortedNumericDocValues extends SortedNumericDocValues
Wraps a SortedNumericDocValues but with additional asserts
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intadvance(int target)booleanadvanceExact(int target)longcost()static SortedNumericDocValuescreate(SortedNumericDocValues in, int maxDoc)intdocID()intdocValueCount()intnextDoc()longnextValue()-
Methods inherited from class org.apache.lucene.search.DocIdSetIterator
all, empty, range, slowAdvance
-
-
-
-
Method Detail
-
create
public static SortedNumericDocValues create(SortedNumericDocValues in, int maxDoc)
-
docID
public int docID()
- Specified by:
docIDin classDocIdSetIterator
-
nextDoc
public int nextDoc() throws IOException- Specified by:
nextDocin classDocIdSetIterator- Throws:
IOException
-
advance
public int advance(int target) throws IOException- Specified by:
advancein classDocIdSetIterator- Throws:
IOException
-
advanceExact
public boolean advanceExact(int target) throws IOException- Throws:
IOException
-
cost
public long cost()
- Specified by:
costin classDocIdSetIterator
-
nextValue
public long nextValue() throws IOException- Specified by:
nextValuein classSortedNumericDocValues- Throws:
IOException
-
docValueCount
public int docValueCount()
- Specified by:
docValueCountin classSortedNumericDocValues
-
-