D - a Lucene directory providerpublic interface DirectoryProviderService<D extends org.apache.lucene.store.Directory> extends Service
DirectoryProvider
instances, potentially making use of shortcuts for the implementation names and altering default implementations.| Modifier and Type | Method and Description |
|---|---|
DirectoryProvider<D> |
create(Properties indexProperties,
String indexName,
BuildContext context)
Creates a DirectoryProvider for an index based on the configuration
|
Class<? extends DirectoryProvider<D>> |
getDefault()
Default
DirectoryProvider to be used if none is configured by the user |
String |
toFullyQualifiedClassName(String shortcut)
Resolve short names into implementation names
|
DirectoryProvider<D> create(Properties indexProperties, String indexName, BuildContext context)
indexProperties - the configuration propertiesindexName - the name of the index (directory) to createcontext - provide access to some services at initializationDirectoryProviderClass<? extends DirectoryProvider<D>> getDefault()
DirectoryProvider to be used if none is configured by the userDirectoryProviderCopyright © 2006–2015 Hibernate. All rights reserved.