Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MockSingleInt32IndexOutput

    Writes ints directly to the file (not in blocks) as vInt.

    Note

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

    Inheritance
    object
    Int32IndexOutput
    MockSingleInt32IndexOutput
    Implements
    IDisposable
    Inherited Members
    Int32IndexOutput.Dispose()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Codecs.MockSep
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public class MockSingleInt32IndexOutput : Int32IndexOutput, IDisposable

    Constructors

    MockSingleInt32IndexOutput(Directory, string, IOContext)

    Writes ints directly to the file (not in blocks) as vInt.

    Note

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

    Declaration
    public MockSingleInt32IndexOutput(Directory dir, string fileName, IOContext context)
    Parameters
    Type Name Description
    Directory dir
    string fileName
    IOContext context

    Methods

    Dispose(bool)

    Writes ints directly to the file (not in blocks) as vInt.

    Note

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

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    Overrides
    Int32IndexOutput.Dispose(bool)

    GetIndex()

    If you are indexing the primary output file, call this and interact with the returned IndexWriter.

    Declaration
    public override Int32IndexOutput.Index GetIndex()
    Returns
    Type Description
    Int32IndexOutput.Index
    Overrides
    Lucene.Net.Codecs.Sep.Int32IndexOutput.GetIndex()

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    object.ToString()

    Write(int)

    Write an int to the primary file. The value must be

    = 0.

    Declaration
    public override void Write(int v)
    Parameters
    Type Name Description
    int v
    Overrides
    Int32IndexOutput.Write(int)

    Implements

    IDisposable
    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.