| java.lang.Object org.apache.lucene.index.MultiLevelSkipListReader
All known Subclasses: org.apache.lucene.index.DefaultSkipListReader,
Method Summary | |
void | close() | int | getDoc() Returns the id of the doc to which the last call of
MultiLevelSkipListReader.skipTo(int) has skipped. | void | init(long skipPointer, int df) | abstract protected int | readSkipData(int level, IndexInput skipStream) Subclasses must implement the actual skip data encoding in this method. | protected void | seekChild(int level) | protected void | setLastSkipData(int level) | int | skipTo(int target) Skips entries to the first beyond the current whose document number is
greater than or equal to target. |
MultiLevelSkipListReader | public MultiLevelSkipListReader(IndexInput skipStream, int maxSkipLevels, int skipInterval)(Code) | | |
init | void init(long skipPointer, int df)(Code) | | initializes the reader
|
readSkipData | abstract protected int readSkipData(int level, IndexInput skipStream) throws IOException(Code) | | Subclasses must implement the actual skip data encoding in this method.
Parameters: level - the level skip data shall be read from Parameters: skipStream - the skip stream to read from |
seekChild | protected void seekChild(int level) throws IOException(Code) | | Seeks the skip entry on the given level
|
setLastSkipData | protected void setLastSkipData(int level)(Code) | | Copies the values of the last read skip entry on this level
|
skipTo | int skipTo(int target) throws IOException(Code) | | Skips entries to the first beyond the current whose document number is
greater than or equal to target. Returns the current doc count.
|
|
|