Class Lucene912PostingsReader.AbstractPostingsEnum
java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.PostingsEnum
org.apache.lucene.backward_codecs.lucene912.Lucene912PostingsReader.AbstractPostingsEnum
- Direct Known Subclasses:
Lucene912PostingsReader.BlockDocsEnum,Lucene912PostingsReader.EverythingEnum
- Enclosing class:
Lucene912PostingsReader
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected final long[]protected intprotected intprotected intprotected intprotected IndexInputprotected ForDeltaUtilprotected final booleanprotected intprotected intprotected longprotected intprotected PForUtilprotected longprotected intprotected longFields inherited from class org.apache.lucene.index.PostingsEnum
ALL, FREQS, NONE, OFFSETS, PAYLOADS, POSITIONSFields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdocID()Returns the following:-1ifDocIdSetIterator.nextDoc()orDocIdSetIterator.advance(int)were not called yet.protected PostingsEnumprotected voidMethods inherited from class org.apache.lucene.index.PostingsEnum
endOffset, featureRequested, freq, getPayload, nextPosition, startOffsetMethods inherited from class org.apache.lucene.search.DocIdSetIterator
advance, all, cost, empty, nextDoc, range, slowAdvance
-
Field Details
-
forDeltaUtil
-
pforUtil
-
docBuffer
protected final long[] docBuffer -
indexHasFreq
protected final boolean indexHasFreq -
doc
protected int doc -
level0LastDocID
protected int level0LastDocID -
level1LastDocID
protected int level1LastDocID -
level1DocEndFP
protected long level1DocEndFP -
level1DocCountUpto
protected int level1DocCountUpto -
docFreq
protected int docFreq -
totalTermFreq
protected long totalTermFreq -
singletonDocID
protected int singletonDocID -
docCountUpto
protected int docCountUpto -
prevDocID
protected long prevDocID -
docBufferSize
protected int docBufferSize -
docBufferUpto
protected int docBufferUpto -
docIn
-
-
Constructor Details
-
AbstractPostingsEnum
-
-
Method Details
-
docID
public int docID()Description copied from class:DocIdSetIteratorReturns the following:-1ifDocIdSetIterator.nextDoc()orDocIdSetIterator.advance(int)were not called yet.DocIdSetIterator.NO_MORE_DOCSif the iterator has exhausted.- Otherwise it should return the doc ID it is currently on.
- Specified by:
docIDin classDocIdSetIterator
-
resetIndexInput
protected void resetIndexInput(Lucene912PostingsFormat.IntBlockTermState termState) throws IOException - Throws:
IOException
-
resetIdsAndLevelParams
protected PostingsEnum resetIdsAndLevelParams(Lucene912PostingsFormat.IntBlockTermState termState) throws IOException - Throws:
IOException
-