Class Lucene40SkipListReader
java.lang.Object
org.apache.lucene.codecs.MultiLevelSkipListReader
org.apache.lucene.codecs.lucene40.Lucene40SkipListReader
- All Implemented Interfaces:
Closeable,AutoCloseable
Deprecated.
Only for reading old 4.0 segments
Implements the skip list reader for the 4.0 posting list format
that stores positions and payloads.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLucene40SkipListReader(IndexInput skipStream, int maxSkipLevels, int skipInterval) Deprecated.Sole constructor. -
Method Summary
Modifier and TypeMethodDescriptionlongDeprecated.Returns the freq pointer of the doc to which the last call ofMultiLevelSkipListReader.skipTo(int)has skipped.intDeprecated.Returns the offset length (endOffset-startOffset) of the position stored just before the doc to which the last call ofMultiLevelSkipListReader.skipTo(int)has skipped.intDeprecated.Returns the payload length of the payload stored just before the doc to which the last call ofMultiLevelSkipListReader.skipTo(int)has skipped.longDeprecated.Returns the prox pointer of the doc to which the last call ofMultiLevelSkipListReader.skipTo(int)has skipped.voidinit(long skipPointer, long freqBasePointer, long proxBasePointer, int df, boolean storesPayloads, boolean storesOffsets) Deprecated.Per-term initialization.Methods inherited from class org.apache.lucene.codecs.MultiLevelSkipListReader
close, getDoc, init, skipTo
-
Constructor Details
-
Lucene40SkipListReader
Deprecated.Sole constructor.
-
-
Method Details
-
init
public void init(long skipPointer, long freqBasePointer, long proxBasePointer, int df, boolean storesPayloads, boolean storesOffsets) Deprecated.Per-term initialization. -
getFreqPointer
public long getFreqPointer()Deprecated.Returns the freq pointer of the doc to which the last call ofMultiLevelSkipListReader.skipTo(int)has skipped. -
getProxPointer
public long getProxPointer()Deprecated.Returns the prox pointer of the doc to which the last call ofMultiLevelSkipListReader.skipTo(int)has skipped. -
getPayloadLength
public int getPayloadLength()Deprecated.Returns the payload length of the payload stored just before the doc to which the last call ofMultiLevelSkipListReader.skipTo(int)has skipped. -
getOffsetLength
public int getOffsetLength()Deprecated.Returns the offset length (endOffset-startOffset) of the position stored just before the doc to which the last call ofMultiLevelSkipListReader.skipTo(int)has skipped.
-