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.index.SortedSetDocValues
NO_MORE_ORDS
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 SortedSetDocValues
create
(SortedSetDocValues in, int maxDoc) int
docID()
long
lookupOrd
(long ord) long
lookupTerm
(BytesRef key) int
nextDoc()
long
nextOrd()
Methods inherited from class org.apache.lucene.index.SortedSetDocValues
intersect, termsEnum
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
-
nextOrd
- Specified by:
nextOrd
in classSortedSetDocValues
- Throws:
IOException
-
lookupOrd
- Specified by:
lookupOrd
in classSortedSetDocValues
- Throws:
IOException
-
getValueCount
public long getValueCount()- Specified by:
getValueCount
in classSortedSetDocValues
-
lookupTerm
- Overrides:
lookupTerm
in classSortedSetDocValues
- Throws:
IOException
-