public class IndexPathDirectoryFactory extends Object implements DirectoryFactory
IndexPathManager as its way of getting a
Directory| Constructor and Description |
|---|
IndexPathDirectoryFactory(IndexPathManager pathManager,
LuceneDirectoryUtils luceneDirectoryUtils) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.store.Directory |
apply(SharedEntity.TypeDescriptor<?> type)
Resolves an output
|
String |
getIndexPath(SharedEntity.TypeDescriptor<?> type) |
Path |
getIndexSubPath(SharedEntity.TypeDescriptor<?> type)
Returns relative subpath of index dir for
type within index root directory |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThen, compose, identitypublic IndexPathDirectoryFactory(IndexPathManager pathManager, LuceneDirectoryUtils luceneDirectoryUtils)
public org.apache.lucene.store.Directory apply(SharedEntity.TypeDescriptor<?> type)
Functionapply in interface java.util.function.Function<SharedEntity.TypeDescriptor<?>,org.apache.lucene.store.Directory>type - an object of type D.public String getIndexPath(SharedEntity.TypeDescriptor<?> type)
public Path getIndexSubPath(SharedEntity.TypeDescriptor<?> type)
type within index root directoryCopyright © 2002-2022 Atlassian. All Rights Reserved.