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
Modifier and TypeMethodDescriptionint
advance
(int target) boolean
advanceExact
(int target) long
cost()
static SortedNumericDocValues
create
(SortedNumericDocValues in, int maxDoc) int
docID()
int
int
nextDoc()
long
Methods inherited from class org.apache.lucene.search.DocIdSetIterator
all, empty, range, slowAdvance
-
Method Details
-
create
-
docID
public int docID()- Specified by:
docID
in classDocIdSetIterator
-
nextDoc
- Specified by:
nextDoc
in classDocIdSetIterator
- Throws:
IOException
-
advance
- Specified by:
advance
in classDocIdSetIterator
- Throws:
IOException
-
advanceExact
- Throws:
IOException
-
cost
public long cost()- Specified by:
cost
in classDocIdSetIterator
-
nextValue
- Specified by:
nextValue
in classSortedNumericDocValues
- Throws:
IOException
-
docValueCount
public int docValueCount()- Specified by:
docValueCount
in classSortedNumericDocValues
-