org.apache.lucene.store
Class IOContext
java.lang.Object
   org.apache.lucene.store.IOContext
org.apache.lucene.store.IOContext
- public class IOContext 
- extends Object
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 | 
| static class | IOContext.ContextContext is a enumerator which specifies the context in which the Directory
 is being used for.
 | 
 
 
 
 
 
context
public final IOContext.Context context
- An object of a enumerator Context type
 
 
mergeInfo
public final MergeInfo mergeInfo
flushInfo
public final FlushInfo flushInfo
readOnce
public final boolean readOnce
DEFAULT
public static final IOContext DEFAULT
READONCE
public static final IOContext READONCE
READ
public static final IOContext READ
IOContext
public IOContext()
IOContext
public IOContext(FlushInfo flushInfo)
IOContext
public IOContext(IOContext.Context context)
IOContext
public IOContext(MergeInfo mergeInfo)
IOContext
public IOContext(IOContext ctxt,
                 boolean readOnce)
- This constructor is used to initialize a IOContextinstance with a new value for the readOnce variable.
 
- Parameters:
- ctxt-- IOContextobject whose information is used to create the new instance except the readOnce variable.
- readOnce- The new- IOContextobject will use this value for readOnce.
 
hashCode
public int hashCode()
- 
- Overrides:
- hashCodein class- Object
 
- 
 
equals
public boolean equals(Object obj)
- 
- Overrides:
- equalsin class- Object
 
- 
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
          Copyright © 2000-2013 Apache Software Foundation.  All Rights Reserved.