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
    System.Object
    Int32StreamFactory
    MockVariableInt32BlockPostingsFormat.MockInt32Factory
    Inherited Members
    Int32StreamFactory.OpenInput(Directory, String, IOContext)
    Int32StreamFactory.CreateOutput(Directory, String, IOContext)
    Namespace: Lucene.Net.Codecs.MockIntBlock
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public class MockInt32Factory : Int32StreamFactory

    Constructors

    | Improve this Doc View Source

    MockInt32Factory(Int32)

    Declaration
    public MockInt32Factory(int baseBlockSize)
    Parameters
    Type Name Description
    System.Int32 baseBlockSize

    Methods

    | Improve this Doc View Source

    CreateOutput(Directory, String, IOContext)

    Declaration
    public override Int32IndexOutput CreateOutput(Directory dir, string fileName, IOContext context)
    Parameters
    Type Name Description
    Directory dir
    System.String fileName
    IOContext context
    Returns
    Type Description
    Int32IndexOutput
    | Improve this Doc View Source

    OpenInput(Directory, String, IOContext)

    Declaration
    public override Int32IndexInput OpenInput(Directory dir, string fileName, IOContext context)
    Parameters
    Type Name Description
    Directory dir
    System.String fileName
    IOContext context
    Returns
    Type Description
    Int32IndexInput
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)