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
Modifier and TypeClassDescriptionstatic enum
Context is a enumerator which specifies the context in which the Directory is being used for. -
Field Summary
-
Constructor Summary
-
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 aIOContext
instance with a new value for the readOnce variable.
-
-
Method Details