@Deprecated public class Lucene40SkipListReader extends MultiLevelSkipListReader
Lucene40PostingsFormatmaxNumberOfSkipLevels, 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, skipTopublic 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
MultiLevelSkipListReaderseekChild in class MultiLevelSkipListReaderIOExceptionprotected void setLastSkipData(int level)
MultiLevelSkipListReadersetLastSkipData in class MultiLevelSkipListReaderprotected int readSkipData(int level,
IndexInput skipStream)
throws IOException
MultiLevelSkipListReaderreadSkipData in class MultiLevelSkipListReaderlevel - the level skip data shall be read fromskipStream - the skip stream to read fromIOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.