Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MockVariableInt32BlockPostingsFormat.MockInt32Factory

    If the first value is <= 3, writes baseBlockSize vInts at once, otherwise writes 2*baseBlockSize vInts.

    Inheritance
    object
    Int32StreamFactory
    MockVariableInt32BlockPostingsFormat.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 MockVariableInt32BlockPostingsFormat.MockInt32Factory : Int32StreamFactory

    Constructors

    MockInt32Factory(int)

    If the first value is <= 3, writes baseBlockSize vInts at once, otherwise writes 2*baseBlockSize vInts.

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

    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.