Package org.apache.lucene.tests.index
Class AssertingLeafReader.AssertingSortedDocValues
java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.SortedDocValues
org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedDocValues
- Enclosing class:
- AssertingLeafReader
Wraps a SortedDocValues but with additional asserts
-
Field Summary
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
advance
(int target) boolean
advanceExact
(int target) long
cost()
int
docID()
int
lookupOrd
(int ord) int
lookupTerm
(BytesRef key) int
nextDoc()
int
ordValue()
Methods inherited from class org.apache.lucene.index.SortedDocValues
intersect, termsEnum
Methods inherited from class org.apache.lucene.search.DocIdSetIterator
all, empty, range, slowAdvance
-
Constructor Details
-
AssertingSortedDocValues
-
-
Method Details
-
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
-
ordValue
- Specified by:
ordValue
in classSortedDocValues
- Throws:
IOException
-
lookupOrd
- Specified by:
lookupOrd
in classSortedDocValues
- Throws:
IOException
-
getValueCount
public int getValueCount()- Specified by:
getValueCount
in classSortedDocValues
-
lookupTerm
- Overrides:
lookupTerm
in classSortedDocValues
- Throws:
IOException
-