|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.codecs.MultiLevelSkipListReader
org.apache.lucene.codecs.lucene40.Lucene40SkipListReader
@Deprecated public class Lucene40SkipListReader
Implements the skip list reader for the 4.0 posting list format that stores positions and payloads.
Lucene40PostingsFormat
Field Summary |
---|
Fields inherited from class org.apache.lucene.codecs.MultiLevelSkipListReader |
---|
maxNumberOfSkipLevels, skipDoc |
Constructor Summary | |
---|---|
Lucene40SkipListReader(IndexInput skipStream,
int maxSkipLevels,
int skipInterval)
Deprecated. Sole constructor. |
Method Summary | |
---|---|
long |
getFreqPointer()
Deprecated. Returns the freq pointer of the doc to which the last call of MultiLevelSkipListReader.skipTo(int) has skipped. |
int |
getOffsetLength()
Deprecated. Returns the offset length (endOffset-startOffset) of the position stored just before the doc to which the last call of MultiLevelSkipListReader.skipTo(int)
has skipped. |
int |
getPayloadLength()
Deprecated. Returns the payload length of the payload stored just before the doc to which the last call of MultiLevelSkipListReader.skipTo(int)
has skipped. |
long |
getProxPointer()
Deprecated. Returns the prox pointer of the doc to which the last call of MultiLevelSkipListReader.skipTo(int) has skipped. |
void |
init(long skipPointer,
long freqBasePointer,
long proxBasePointer,
int df,
boolean storesPayloads,
boolean storesOffsets)
Deprecated. Per-term initialization. |
protected int |
readSkipData(int level,
IndexInput skipStream)
Deprecated. Subclasses must implement the actual skip data encoding in this method. |
protected void |
seekChild(int level)
Deprecated. Seeks the skip entry on the given level |
protected void |
setLastSkipData(int level)
Deprecated. Copies the values of the last read skip entry on this level |
Methods inherited from class org.apache.lucene.codecs.MultiLevelSkipListReader |
---|
close, getDoc, init, skipTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Lucene40SkipListReader(IndexInput skipStream, int maxSkipLevels, int skipInterval)
Method Detail |
---|
public void init(long skipPointer, long freqBasePointer, long proxBasePointer, int df, boolean storesPayloads, boolean storesOffsets)
public long getFreqPointer()
MultiLevelSkipListReader.skipTo(int)
has skipped.
public long getProxPointer()
MultiLevelSkipListReader.skipTo(int)
has skipped.
public int getPayloadLength()
MultiLevelSkipListReader.skipTo(int)
has skipped.
public int getOffsetLength()
MultiLevelSkipListReader.skipTo(int)
has skipped.
protected void seekChild(int level) throws IOException
MultiLevelSkipListReader
seekChild
in class MultiLevelSkipListReader
IOException
protected void setLastSkipData(int level)
MultiLevelSkipListReader
setLastSkipData
in class MultiLevelSkipListReader
protected int readSkipData(int level, IndexInput skipStream) throws IOException
MultiLevelSkipListReader
readSkipData
in class MultiLevelSkipListReader
level
- the level skip data shall be read fromskipStream
- the skip stream to read from
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |