Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class FixedInt32BlockIndexInput

    Abstract base class that reads fixed-size blocks of ints from an Lucene.Net.Store.IndexInput. While this is a simple approach, a more performant approach would directly create an impl of Int32IndexInput inside Lucene.Net.Store.Directory. Wrapping a generic Lucene.Net.Store.IndexInput will likely cost performance.

    NOTE: This was FixedIntBlockIndexInput in Lucene

    Note

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

    Inheritance
    System.Object
    Int32IndexInput
    FixedInt32BlockIndexInput
    Implements
    System.IDisposable
    Inherited Members
    Int32IndexInput.Dispose()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Codecs.IntBlock
    Assembly: Lucene.Net.Codecs.dll
    Syntax
    public abstract class FixedInt32BlockIndexInput : Int32IndexInput, IDisposable
    Remarks

    Naive int block API that writes vInts. This is expected to give poor performance; it's really only for testing the pluggability. One should typically use pfor instead.

    Constructors

    | Improve this Doc View Source

    FixedInt32BlockIndexInput(IndexInput)

    Declaration
    protected FixedInt32BlockIndexInput(IndexInput in)
    Parameters
    Type Name Description
    Lucene.Net.Store.IndexInput in

    Fields

    | Improve this Doc View Source

    m_blockSize

    Declaration
    protected readonly int m_blockSize
    Field Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    Overrides
    Int32IndexInput.Dispose(Boolean)
    | Improve this Doc View Source

    GetBlockReader(IndexInput, Int32[])

    Declaration
    protected abstract FixedInt32BlockIndexInput.IBlockReader GetBlockReader(IndexInput in, int[] buffer)
    Parameters
    Type Name Description
    Lucene.Net.Store.IndexInput in
    System.Int32[] buffer
    Returns
    Type Description
    FixedInt32BlockIndexInput.IBlockReader
    | Improve this Doc View Source

    GetIndex()

    Declaration
    public override Int32IndexInput.Index GetIndex()
    Returns
    Type Description
    Int32IndexInput.Index
    Overrides
    Int32IndexInput.GetIndex()
    | Improve this Doc View Source

    GetReader()

    Declaration
    public override Int32IndexInput.Reader GetReader()
    Returns
    Type Description
    Int32IndexInput.Reader
    Overrides
    Int32IndexInput.GetReader()

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.