Package org.apache.lucene.index
Class AssertingLeafReader.AssertingSortedSetDocValues
- java.lang.Object
-
- org.apache.lucene.search.DocIdSetIterator
-
- org.apache.lucene.index.SortedSetDocValues
-
- org.apache.lucene.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
-
-
Constructor Summary
Constructors Constructor Description AssertingSortedSetDocValues(SortedSetDocValues in, int maxDoc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
advance(int target)
boolean
advanceExact(int target)
long
cost()
int
docID()
long
getValueCount()
BytesRef
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
-
-
-
-
Constructor Detail
-
AssertingSortedSetDocValues
public AssertingSortedSetDocValues(SortedSetDocValues in, int maxDoc)
-
-
Method Detail
-
docID
public int docID()
- Specified by:
docID
in classDocIdSetIterator
-
nextDoc
public int nextDoc() throws IOException
- Specified by:
nextDoc
in classDocIdSetIterator
- Throws:
IOException
-
advance
public int advance(int target) throws IOException
- Specified by:
advance
in classDocIdSetIterator
- Throws:
IOException
-
advanceExact
public boolean advanceExact(int target) throws IOException
- Throws:
IOException
-
cost
public long cost()
- Specified by:
cost
in classDocIdSetIterator
-
nextOrd
public long nextOrd() throws IOException
- Specified by:
nextOrd
in classSortedSetDocValues
- Throws:
IOException
-
lookupOrd
public BytesRef lookupOrd(long ord) throws IOException
- Specified by:
lookupOrd
in classSortedSetDocValues
- Throws:
IOException
-
getValueCount
public long getValueCount()
- Specified by:
getValueCount
in classSortedSetDocValues
-
lookupTerm
public long lookupTerm(BytesRef key) throws IOException
- Overrides:
lookupTerm
in classSortedSetDocValues
- Throws:
IOException
-
-