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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintadvance(int target) booleanadvanceExact(int target) longcost()intdocID()intlookupOrd(int ord) intlookupTerm(BytesRef key) intnextDoc()intordValue()Methods inherited from class org.apache.lucene.index.SortedDocValues
intersect, termsEnumMethods inherited from class org.apache.lucene.search.DocIdSetIterator
all, docIDRunEnd, empty, intoBitSet, range, slowAdvance
-
Constructor Details
-
AssertingSortedDocValues
-
-
Method Details
-
docID
public int docID()- Specified by:
docIDin classDocIdSetIterator
-
nextDoc
- Specified by:
nextDocin classDocIdSetIterator- Throws:
IOException
-
advance
- Specified by:
advancein classDocIdSetIterator- Throws:
IOException
-
advanceExact
- Throws:
IOException
-
cost
public long cost()- Specified by:
costin classDocIdSetIterator
-
ordValue
- Specified by:
ordValuein classSortedDocValues- Throws:
IOException
-
lookupOrd
- Specified by:
lookupOrdin classSortedDocValues- Throws:
IOException
-
getValueCount
public int getValueCount()- Specified by:
getValueCountin classSortedDocValues
-
lookupTerm
- Overrides:
lookupTermin classSortedDocValues- Throws:
IOException
-