public class IndexPathDirectoryFactory extends Object implements DirectoryFactory
IndexPathManager
as its way of getting a
DirectoryConstructor 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, wait
andThen, compose, identity
public IndexPathDirectoryFactory(IndexPathManager pathManager, LuceneDirectoryUtils luceneDirectoryUtils)
public org.apache.lucene.store.Directory apply(SharedEntity.TypeDescriptor<?> type)
Function
apply
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-2021 Atlassian. All Rights Reserved.
View cookie preferences