Package org.apache.lucene.tests.index
Class AssertingLeafReader.AssertingSortedSetDocValues
java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.SortedSetDocValues
org.apache.lucene.tests.index.AssertingLeafReader.AssertingSortedSetDocValues
- Enclosing class:
AssertingLeafReader
Wraps a SortedSetDocValues but with additional asserts
-
Field Summary
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS -
Method Summary
Modifier and TypeMethodDescriptionintadvance(int target) booleanadvanceExact(int target) longcost()static SortedSetDocValuescreate(SortedSetDocValues in, int maxDoc) intdocID()intlonglookupOrd(long ord) longlookupTerm(BytesRef key) intnextDoc()longnextOrd()Methods inherited from class org.apache.lucene.index.SortedSetDocValues
intersect, termsEnumMethods inherited from class org.apache.lucene.search.DocIdSetIterator
all, docIDRunEnd, empty, intoBitSet, range, slowAdvance
-
Method Details
-
create
-
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
-
nextOrd
- Specified by:
nextOrdin classSortedSetDocValues- Throws:
IOException
-
docValueCount
public int docValueCount()- Specified by:
docValueCountin classSortedSetDocValues
-
lookupOrd
- Specified by:
lookupOrdin classSortedSetDocValues- Throws:
IOException
-
getValueCount
public long getValueCount()- Specified by:
getValueCountin classSortedSetDocValues
-
lookupTerm
- Overrides:
lookupTermin classSortedSetDocValues- Throws:
IOException
-