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
public static class AssertingLeafReader.AssertingSortedSetDocValues extends SortedSetDocValues
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intadvance(int target)booleanadvanceExact(int target)longcost()static SortedSetDocValuescreate(SortedSetDocValues in, int maxDoc)intdocID()intdocValueCount()longgetValueCount()BytesReflookupOrd(long ord)longlookupTerm(BytesRef key)intnextDoc()longnextOrd()-
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 Detail
-
create
public static SortedSetDocValues create(SortedSetDocValues in, int maxDoc)
-
docID
public int docID()
- Specified by:
docIDin classDocIdSetIterator
-
nextDoc
public int nextDoc() throws IOException- Specified by:
nextDocin classDocIdSetIterator- Throws:
IOException
-
advance
public int advance(int target) throws IOException- Specified by:
advancein classDocIdSetIterator- Throws:
IOException
-
advanceExact
public boolean advanceExact(int target) throws IOException- Throws:
IOException
-
cost
public long cost()
- Specified by:
costin classDocIdSetIterator
-
nextOrd
public long nextOrd() throws IOException- Specified by:
nextOrdin classSortedSetDocValues- Throws:
IOException
-
docValueCount
public int docValueCount()
- Specified by:
docValueCountin classSortedSetDocValues
-
lookupOrd
public BytesRef lookupOrd(long ord) throws IOException
- Specified by:
lookupOrdin classSortedSetDocValues- Throws:
IOException
-
getValueCount
public long getValueCount()
- Specified by:
getValueCountin classSortedSetDocValues
-
lookupTerm
public long lookupTerm(BytesRef key) throws IOException
- Overrides:
lookupTermin classSortedSetDocValues- Throws:
IOException
-
-