Package org.apache.lucene.tests.index
Class AssertingLeafReader.AssertingImpactsEnum
- java.lang.Object
-
- org.apache.lucene.search.DocIdSetIterator
-
- org.apache.lucene.index.PostingsEnum
-
- org.apache.lucene.index.ImpactsEnum
-
- org.apache.lucene.tests.index.AssertingLeafReader.AssertingImpactsEnum
-
- All Implemented Interfaces:
ImpactsSource
- Enclosing class:
- AssertingLeafReader
public static class AssertingLeafReader.AssertingImpactsEnum extends ImpactsEnum
Wraps aImpactsEnumwith additional checks
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.index.PostingsEnum
ALL, FREQS, NONE, OFFSETS, PAYLOADS, POSITIONS
-
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intadvance(int target)voidadvanceShallow(int target)longcost()intdocID()intendOffset()intfreq()ImpactsgetImpacts()BytesRefgetPayload()intnextDoc()intnextPosition()intstartOffset()-
Methods inherited from class org.apache.lucene.index.PostingsEnum
featureRequested
-
Methods inherited from class org.apache.lucene.search.DocIdSetIterator
all, empty, range, slowAdvance
-
-
-
-
Method Detail
-
advanceShallow
public void advanceShallow(int target) throws IOException- Throws:
IOException
-
getImpacts
public Impacts getImpacts() throws IOException
- Throws:
IOException
-
freq
public int freq() throws IOException- Specified by:
freqin classPostingsEnum- Throws:
IOException
-
nextPosition
public int nextPosition() throws IOException- Specified by:
nextPositionin classPostingsEnum- Throws:
IOException
-
startOffset
public int startOffset() throws IOException- Specified by:
startOffsetin classPostingsEnum- Throws:
IOException
-
endOffset
public int endOffset() throws IOException- Specified by:
endOffsetin classPostingsEnum- Throws:
IOException
-
getPayload
public BytesRef getPayload() throws IOException
- Specified by:
getPayloadin classPostingsEnum- Throws:
IOException
-
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
-
cost
public long cost()
- Specified by:
costin classDocIdSetIterator
-
-