public class FSDirectoryFactory extends Object implements DirectoryFactory
| Constructor and Description |
|---|
FSDirectoryFactory(File baseDir) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.store.Directory |
newInstance(LuceneIndexDefinition definition,
org.apache.jackrabbit.oak.spi.state.NodeBuilder builder,
String dirName,
boolean reindex) |
boolean |
remoteDirectory()
Determines if the Directory is having a remote storage
or local storage
|
public FSDirectoryFactory(File baseDir)
public org.apache.lucene.store.Directory newInstance(LuceneIndexDefinition definition, org.apache.jackrabbit.oak.spi.state.NodeBuilder builder, String dirName, boolean reindex) throws IOException
newInstance in interface DirectoryFactoryIOExceptionpublic boolean remoteDirectory()
DirectoryFactoryremoteDirectory in interface DirectoryFactoryCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.