org.apache.solr.core
Class DirectoryFactory
java.lang.Object
org.apache.solr.core.DirectoryFactory
- All Implemented Interfaces:
- NamedListInitializedPlugin
- Direct Known Subclasses:
- MMapDirectoryFactory, NIOFSDirectoryFactory, SimpleFSDirectoryFactory, StandardDirectoryFactory
public abstract class DirectoryFactory
- extends Object
- implements NamedListInitializedPlugin
Provides access to a Directory implementation.
|
Method Summary |
boolean |
exists(String path)
|
void |
init(org.apache.solr.common.util.NamedList args)
|
abstract org.apache.lucene.store.Directory |
open(String path)
Opens a Lucene directory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryFactory
public DirectoryFactory()
open
public abstract org.apache.lucene.store.Directory open(String path)
throws IOException
- Opens a Lucene directory
- Throws:
IOException
exists
public boolean exists(String path)
init
public void init(org.apache.solr.common.util.NamedList args)
- Specified by:
init in interface NamedListInitializedPlugin
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.