Package org.apache.lucene.store
Class IOContext
java.lang.Object
org.apache.lucene.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
Directory.openInput(String, IOContext) or
Directory.createOutput(String, IOContext)-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumContext is a enumerator which specifies the context in which the Directory is being used for. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
context
An object of a enumerator Context type -
mergeInfo
-
flushInfo
-
readOnce
public final boolean readOnce -
DEFAULT
-
READONCE
-
READ
-
-
Constructor Details
-
IOContext
public IOContext() -
IOContext
-
IOContext
-
IOContext
-
IOContext
This constructor is used to initialize aIOContextinstance with a new value for the readOnce variable.
-
-
Method Details