@Deprecated public class Lucene40SkipListReader extends MultiLevelSkipListReader
Lucene40PostingsFormat
maxNumberOfSkipLevels, skipDoc
Constructor and Description |
---|
Lucene40SkipListReader(IndexInput skipStream,
int maxSkipLevels,
int skipInterval)
Deprecated.
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
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
|
close, getDoc, init, skipTo
public Lucene40SkipListReader(IndexInput skipStream, int maxSkipLevels, int skipInterval)
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 fromIOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.