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
    System.Object
    IOContext
    Namespace: Lucene.Net.Store
    Assembly: Lucene.Net.dll
    Syntax
    public class IOContext : object

    Constructors

    | Improve this Doc View Source

    IOContext()

    Declaration
    public IOContext()
    | Improve this Doc View Source

    IOContext(FlushInfo)

    Declaration
    public IOContext(FlushInfo flushInfo)
    Parameters
    Type Name Description
    FlushInfo flushInfo
    | Improve this Doc View Source

    IOContext(IOContext, Boolean)

    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.

    System.Boolean readOnce

    The new IOContext object will use this value for ReadOnce.

    | Improve this Doc View Source

    IOContext(IOContext.UsageContext)

    Declaration
    public IOContext(IOContext.UsageContext context)
    Parameters
    Type Name Description
    IOContext.UsageContext context
    | Improve this Doc View Source

    IOContext(MergeInfo)

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

    Fields

    | Improve this Doc View Source

    DEFAULT

    Declaration
    public static readonly IOContext DEFAULT
    Field Value
    Type Description
    IOContext
    | Improve this Doc View Source

    READ

    Declaration
    public static readonly IOContext READ
    Field Value
    Type Description
    IOContext
    | Improve this Doc View Source

    READ_ONCE

    Declaration
    public static readonly IOContext READ_ONCE
    Field Value
    Type Description
    IOContext

    Properties

    | Improve this Doc View Source

    Context

    A IOContext.UsageContext setting

    Declaration
    public IOContext.UsageContext Context { get; }
    Property Value
    Type Description
    IOContext.UsageContext
    | Improve this Doc View Source

    FlushInfo

    Declaration
    public FlushInfo FlushInfo { get; }
    Property Value
    Type Description
    FlushInfo
    | Improve this Doc View Source

    MergeInfo

    Declaration
    public MergeInfo MergeInfo { get; }
    Property Value
    Type Description
    MergeInfo
    | Improve this Doc View Source

    ReadOnce

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

    Methods

    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)