public class MMapDirectory extends FSDirectory
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.
LOCK_DIR
Constructor and Description |
---|
MMapDirectory() |
Modifier and Type | Method and Description |
---|---|
IndexInput |
openInput(String name)
Returns a stream reading an existing file.
|
close, createOutput, deleteFile, fileExists, fileLength, fileModified, fileModified, getDirectory, getDirectory, getDisableLocks, getFile, list, makeLock, renameFile, setDisableLocks, toString, touchFile
createFile, openFile
public IndexInput openInput(String name) throws IOException
FSDirectory
openInput
in class FSDirectory
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.