Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class IOContext

    IOContext holds additional details on the merge/search context. A IOContext object can never be initialized as null as passed as a parameter to either OpenInput(string, IOContext) or CreateOutput(string, IOContext)

    Inheritance
    object
    IOContext
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Store
    Assembly: Lucene.Net.dll
    Syntax
    public class IOContext

    Constructors

    IOContext()

    IOContext holds additional details on the merge/search context. A IOContext object can never be initialized as null as passed as a parameter to either OpenInput(string, IOContext) or CreateOutput(string, IOContext)

    Declaration
    public IOContext()

    IOContext(FlushInfo)

    IOContext holds additional details on the merge/search context. A IOContext object can never be initialized as null as passed as a parameter to either OpenInput(string, IOContext) or CreateOutput(string, IOContext)

    Declaration
    public IOContext(FlushInfo flushInfo)
    Parameters
    Type Name Description
    FlushInfo flushInfo

    IOContext(IOContext, bool)

    This constructor is used to initialize a IOContext instance with a new value for the ReadOnce property.

    Declaration
    public IOContext(IOContext ctxt, bool readOnce)
    Parameters
    Type Name Description
    IOContext ctxt

    IOContext object whose information is used to create the new instance except the ReadOnce property.

    bool readOnce

    The new IOContext object will use this value for ReadOnce.

    IOContext(UsageContext)

    IOContext holds additional details on the merge/search context. A IOContext object can never be initialized as null as passed as a parameter to either OpenInput(string, IOContext) or CreateOutput(string, IOContext)

    Declaration
    public IOContext(IOContext.UsageContext context)
    Parameters
    Type Name Description
    IOContext.UsageContext context

    IOContext(MergeInfo)

    IOContext holds additional details on the merge/search context. A IOContext object can never be initialized as null as passed as a parameter to either OpenInput(string, IOContext) or CreateOutput(string, IOContext)

    Declaration
    public IOContext(MergeInfo mergeInfo)
    Parameters
    Type Name Description
    MergeInfo mergeInfo

    Fields

    DEFAULT

    IOContext holds additional details on the merge/search context. A IOContext object can never be initialized as null as passed as a parameter to either OpenInput(string, IOContext) or CreateOutput(string, IOContext)

    Declaration
    public static readonly IOContext DEFAULT
    Field Value
    Type Description
    IOContext

    READ

    IOContext holds additional details on the merge/search context. A IOContext object can never be initialized as null as passed as a parameter to either OpenInput(string, IOContext) or CreateOutput(string, IOContext)

    Declaration
    public static readonly IOContext READ
    Field Value
    Type Description
    IOContext

    READ_ONCE

    IOContext holds additional details on the merge/search context. A IOContext object can never be initialized as null as passed as a parameter to either OpenInput(string, IOContext) or CreateOutput(string, IOContext)

    Declaration
    public static readonly IOContext READ_ONCE
    Field Value
    Type Description
    IOContext

    Properties

    Context

    A IOContext.UsageContext setting

    Declaration
    public IOContext.UsageContext Context { get; }
    Property Value
    Type Description
    IOContext.UsageContext

    FlushInfo

    IOContext holds additional details on the merge/search context. A IOContext object can never be initialized as null as passed as a parameter to either OpenInput(string, IOContext) or CreateOutput(string, IOContext)

    Declaration
    public FlushInfo FlushInfo { get; }
    Property Value
    Type Description
    FlushInfo

    MergeInfo

    IOContext holds additional details on the merge/search context. A IOContext object can never be initialized as null as passed as a parameter to either OpenInput(string, IOContext) or CreateOutput(string, IOContext)

    Declaration
    public MergeInfo MergeInfo { get; }
    Property Value
    Type Description
    MergeInfo

    ReadOnce

    IOContext holds additional details on the merge/search context. A IOContext object can never be initialized as null as passed as a parameter to either OpenInput(string, IOContext) or CreateOutput(string, IOContext)

    Declaration
    public bool ReadOnce { get; }
    Property Value
    Type Description
    bool

    Methods

    Equals(object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    Overrides
    object.Equals(object)

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    object.GetHashCode()

    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()
    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.