Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MockFixedInt32BlockPostingsFormat.MockInt32Factory

    Encodes blocks as vInts of a fixed block size.

    Inheritance
    object
    Int32StreamFactory
    MockFixedInt32BlockPostingsFormat.MockInt32Factory
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Codecs.MockIntBlock
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public class MockFixedInt32BlockPostingsFormat.MockInt32Factory : Int32StreamFactory

    Constructors

    MockInt32Factory(int)

    Encodes blocks as vInts of a fixed block size.

    Declaration
    public MockInt32Factory(int blockSize)
    Parameters
    Type Name Description
    int blockSize

    Methods

    CreateOutput(Directory, string, IOContext)

    Create an Lucene.Net.Codecs.Sep.Int32IndexOutput on the provided fileName.

    Declaration
    public override Int32IndexOutput CreateOutput(Directory dir, string fileName, IOContext context)
    Parameters
    Type Name Description
    Directory dir
    string fileName
    IOContext context
    Returns
    Type Description
    Int32IndexOutput
    Overrides
    Int32StreamFactory.CreateOutput(Directory, string, IOContext)

    OpenInput(Directory, string, IOContext)

    Create an Lucene.Net.Codecs.Sep.Int32IndexInput on the provided fileName.

    Declaration
    public override Int32IndexInput OpenInput(Directory dir, string fileName, IOContext context)
    Parameters
    Type Name Description
    Directory dir
    string fileName
    IOContext context
    Returns
    Type Description
    Int32IndexInput
    Overrides
    Int32StreamFactory.OpenInput(Directory, string, IOContext)
    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.