|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.store.Directory
org.apache.lucene.store.FSDirectory
org.apache.lucene.store.MMapDirectory
public class MMapDirectory
File-based Directory
implementation that uses mmap for input.
To use this, invoke Java with the System property
org.apache.lucene.FSDirectory.class set to
org.apache.lucene.store.MMapDirectory. This will cause FSDirectory.getDirectory(File,boolean)
to return instances of this class.
Field Summary |
---|
Fields inherited from class org.apache.lucene.store.FSDirectory |
---|
LOCK_DIR |
Constructor Summary | |
---|---|
MMapDirectory()
|
Method Summary | |
---|---|
IndexInput |
openInput(java.lang.String name)
Returns a stream reading an existing file. |
Methods inherited from class org.apache.lucene.store.FSDirectory |
---|
close, createOutput, deleteFile, fileExists, fileLength, fileModified, fileModified, getDirectory, getDirectory, getDisableLocks, getFile, list, makeLock, renameFile, setDisableLocks, toString, touchFile |
Methods inherited from class org.apache.lucene.store.Directory |
---|
createFile, openFile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MMapDirectory()
Method Detail |
---|
public IndexInput openInput(java.lang.String name) throws java.io.IOException
FSDirectory
openInput
in class FSDirectory
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |