org.apache.solr.core
Class DirectoryFactory
java.lang.Object
org.apache.solr.core.DirectoryFactory
- All Implemented Interfaces:
- NamedListInitializedPlugin
- Direct Known Subclasses:
- StandardDirectoryFactory
public abstract class DirectoryFactory
- extends Object
- implements NamedListInitializedPlugin
Provides access to a Directory implementation.
Method Summary |
void |
init(org.apache.solr.common.util.NamedList args)
|
abstract 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 Directory open(String path)
throws IOException
- Opens a Lucene directory
- Throws:
IOException
init
public void init(org.apache.solr.common.util.NamedList args)
- Specified by:
init
in interface NamedListInitializedPlugin
Copyright © 2009 Apache Software Foundation. All Rights Reserved.