Class PreFlexRWSkipListWriter
PreFlexRW skiplist implementation.
Note
This API is experimental and might change in incompatible ways in the next release.
Inherited Members
MultiLevelSkipListWriter.m_numberOfSkipLevels
MultiLevelSkipListWriter.Init()
MultiLevelSkipListWriter.WriteSkip(IndexOutput)
Namespace: Lucene.Net.Codecs.Lucene3x
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class PreFlexRWSkipListWriter : MultiLevelSkipListWriter
Constructors
PreFlexRWSkipListWriter(int, int, int, IndexOutput, IndexOutput)
PreFlexRW skiplist implementation.
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public PreFlexRWSkipListWriter(int skipInterval, int numberOfSkipLevels, int docCount, IndexOutput freqOutput, IndexOutput proxOutput)
Parameters
Type | Name | Description |
---|---|---|
int | skipInterval | |
int | numberOfSkipLevels | |
int | docCount | |
IndexOutput | freqOutput | |
IndexOutput | proxOutput |
Methods
ResetSkip()
Creates new buffers or empties the existing ones.
Declaration
public override void ResetSkip()
Overrides
Lucene.Net.Codecs.MultiLevelSkipListWriter.ResetSkip()
SetSkipData(int, bool, int)
Sets the values for the current skip data.
Declaration
public virtual void SetSkipData(int doc, bool storePayloads, int payloadLength)
Parameters
Type | Name | Description |
---|---|---|
int | doc | |
bool | storePayloads | |
int | payloadLength |
WriteSkipData(int, IndexOutput)
Subclasses must implement the actual skip data encoding in this method.
Declaration
protected override void WriteSkipData(int level, IndexOutput skipBuffer)
Parameters
Type | Name | Description |
---|---|---|
int | level | The level skip data shall be writing for. |
IndexOutput | skipBuffer | The skip buffer to write to. |