C# Class Lucene.Net.Store.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 Lucene.Net.Store.Directory#openInput(String, IOContext) or Lucene.Net.Store.Directory#createOutput(String, IOContext)
Datei anzeigen Open project: paulirwin/lucene.net Class Usage Examples

Public Properties

Property Type Description
Context Context_e
DEFAULT IOContext
FlushInfo Lucene.Net.Store.FlushInfo
MergeInfo Lucene.Net.Store.MergeInfo
READ IOContext
READONCE IOContext
ReadOnce bool

Public Methods

Method Description
ContextValues ( ) : IEnumerable
Equals ( object obj ) : bool
GetHashCode ( ) : int
IOContext ( ) : System.Collections.Generic
IOContext ( Context_e context ) : System.Collections.Generic
IOContext ( Lucene.Net.Store.FlushInfo flushInfo ) : System.Collections.Generic
IOContext ( IOContext ctxt, bool readOnce ) : System.Collections.Generic

this constructor is used to initialize a IOContext instance with a new value for the readOnce variable.

IOContext ( Lucene.Net.Store.MergeInfo mergeInfo ) : System.Collections.Generic
ToString ( ) : string

Private Methods

Method Description
IOContext ( Context_e context, Lucene.Net.Store.MergeInfo mergeInfo ) : System.Collections.Generic
IOContext ( bool readOnce ) : System.Collections.Generic

Method Details

ContextValues() public static method

public static ContextValues ( ) : IEnumerable
return IEnumerable

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

IOContext() public method

public IOContext ( ) : System.Collections.Generic
return System.Collections.Generic

IOContext() public method

public IOContext ( Context_e context ) : System.Collections.Generic
context Context_e
return System.Collections.Generic

IOContext() public method

public IOContext ( Lucene.Net.Store.FlushInfo flushInfo ) : System.Collections.Generic
flushInfo Lucene.Net.Store.FlushInfo
return System.Collections.Generic

IOContext() public method

this constructor is used to initialize a IOContext instance with a new value for the readOnce variable.
public IOContext ( IOContext ctxt, bool readOnce ) : System.Collections.Generic
ctxt IOContext object whose information is used to create the new instance except the readOnce variable.
readOnce bool The new object will use this value for readOnce.
return System.Collections.Generic

IOContext() public method

public IOContext ( Lucene.Net.Store.MergeInfo mergeInfo ) : System.Collections.Generic
mergeInfo Lucene.Net.Store.MergeInfo
return System.Collections.Generic

ToString() public method

public ToString ( ) : string
return string

Property Details

Context public_oe property

An object of a enumerator Context type
public Context_e Context
return Context_e

DEFAULT public_oe static_oe property

public static IOContext,Lucene.Net.Store DEFAULT
return IOContext

FlushInfo public_oe property

public FlushInfo,Lucene.Net.Store FlushInfo
return Lucene.Net.Store.FlushInfo

MergeInfo public_oe property

public MergeInfo,Lucene.Net.Store MergeInfo
return Lucene.Net.Store.MergeInfo

READ public_oe static_oe property

public static IOContext,Lucene.Net.Store READ
return IOContext

READONCE public_oe static_oe property

public static IOContext,Lucene.Net.Store READONCE
return IOContext

ReadOnce public_oe property

public bool ReadOnce
return bool