Package org.apache.lucene.tests.index
Class AssertingLeafReader.AssertingBinaryDocValues
- java.lang.Object
-
- org.apache.lucene.search.DocIdSetIterator
-
- org.apache.lucene.index.BinaryDocValues
-
- org.apache.lucene.tests.index.AssertingLeafReader.AssertingBinaryDocValues
-
- Enclosing class:
- AssertingLeafReader
public static class AssertingLeafReader.AssertingBinaryDocValues extends BinaryDocValues
Wraps a BinaryDocValues but with additional asserts
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS
-
-
Constructor Summary
Constructors Constructor Description AssertingBinaryDocValues(BinaryDocValues in, int maxDoc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intadvance(int target)booleanadvanceExact(int target)BytesRefbinaryValue()longcost()intdocID()intnextDoc()StringtoString()-
Methods inherited from class org.apache.lucene.search.DocIdSetIterator
all, empty, range, slowAdvance
-
-
-
-
Constructor Detail
-
AssertingBinaryDocValues
public AssertingBinaryDocValues(BinaryDocValues in, int maxDoc)
-
-
Method Detail
-
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
-
binaryValue
public BytesRef binaryValue() throws IOException
- Specified by:
binaryValuein classBinaryDocValues- Throws:
IOException
-
-