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()intintvoidintoBitSet(int upTo, FixedBitSet bitSet, int offset) lookupOrd(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, empty, 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
-
intoBitSet
- Overrides:
intoBitSetin classDocIdSetIterator- Throws:
IOException
-
docIDRunEnd
- Overrides:
docIDRunEndin classDocIdSetIterator- 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
-