Class MultiLevelSkipListReader
This abstract class reads skip lists with multiple levels.
See MultiLevelSkipListWriter for the information about the encoding of the multi level skip lists.
Subclasses must implement the abstract method ReadSkipData(Int32, IndexInput) which defines the actual format of the skip data.
@lucene.experimental
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public abstract class MultiLevelSkipListReader : IDisposable
Constructors
Name | Description |
---|---|
MultiLevelSkipListReader(IndexInput, Int32, Int32) | Creates a MultiLevelSkipListReader, where Lucene.Net.Codecs.MultiLevelSkipListReader.skipInterval and Lucene.Net.Codecs.MultiLevelSkipListReader.skipMultiplier are the same. |
MultiLevelSkipListReader(IndexInput, Int32, Int32, Int32) | Creates a MultiLevelSkipListReader. |
Fields
Name | Description |
---|---|
m_maxNumberOfSkipLevels | The maximum number of skip levels possible for this index. |
m_skipDoc | Doc id of current skip entry per level. |
Properties
Name | Description |
---|---|
Doc | Returns the id of the doc to which the last call of SkipTo(Int32) has skipped. |
Methods
Name | Description |
---|---|
Dispose() | Disposes all resources used by this object. |
Dispose(Boolean) | Disposes all resources used by this object. Subclasses may override to dispose their own resources. |
Init(Int64, Int32) | Initializes the reader, for reuse on a new term. |
ReadSkipData(Int32, IndexInput) | Subclasses must implement the actual skip data encoding in this method. |
SeekChild(Int32) | Seeks the skip entry on the given level. |
SetLastSkipData(Int32) | Copies the values of the last read skip entry on this |
SkipTo(Int32) | Skips entries to the first beyond the current whose document number is
greater than or equal to |