Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class PreFlexRWSkipListWriter

    PreFlexRW skiplist implementation.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Inheritance
    object
    MultiLevelSkipListWriter
    PreFlexRWSkipListWriter
    Inherited Members
    MultiLevelSkipListWriter.m_numberOfSkipLevels
    MultiLevelSkipListWriter.Init()
    MultiLevelSkipListWriter.BufferSkip(int)
    MultiLevelSkipListWriter.WriteSkip(IndexOutput)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    Overrides
    MultiLevelSkipListWriter.WriteSkipData(int, IndexOutput)
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.