Save This Page
Home » nutch-1.0 » org.apache.nutch » indexer » [javadoc | source]
org.apache.nutch.indexer
public class: FsDirectory [javadoc | source]
java.lang.Object
   org.apache.lucene.store.Directory
      org.apache.nutch.indexer.FsDirectory
Reads a Lucene index stored in DFS.
Constructor:
 public FsDirectory(FileSystem fs,
    Path directory,
    boolean create,
    Configuration conf) throws IOException 
Method from org.apache.nutch.indexer.FsDirectory Summary:
close,   createOutput,   deleteFile,   fileExists,   fileLength,   fileModified,   list,   makeLock,   openInput,   renameFile,   toString,   touchFile
Methods from org.apache.lucene.store.Directory:
clearLock,   close,   copy,   createOutput,   deleteFile,   fileExists,   fileLength,   fileModified,   getLockFactory,   getLockID,   list,   makeLock,   openInput,   openInput,   renameFile,   setLockFactory,   touchFile
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.nutch.indexer.FsDirectory Detail:
 public synchronized  void close() throws IOException 
 public IndexOutput createOutput(String name) throws IOException 
 public  void deleteFile(String name) throws IOException 
 public boolean fileExists(String name) throws IOException 
 public long fileLength(String name) throws IOException 
 public long fileModified(String name) 
 public String[] list() throws IOException 
 public Lock makeLock(String name) 
 public IndexInput openInput(String name) throws IOException 
 public  void renameFile(String from,
    String to) throws IOException 
 public String toString() 
 public  void touchFile(String name)