public class LocalPersistentStoreProvider extends BasePersistentStoreProvider
| Constructor and Description |
|---|
LocalPersistentStoreProvider(DrillConfig config) |
LocalPersistentStoreProvider(PersistentStoreRegistry<?> registry) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<V> PersistentStore<V> |
getOrCreateStore(PersistentStoreConfig<V> storeConfig)
Gets or creates a
persistent store for the given configuration. |
startpublic LocalPersistentStoreProvider(PersistentStoreRegistry<?> registry) throws StoreException
StoreExceptionpublic LocalPersistentStoreProvider(DrillConfig config) throws StoreException
StoreExceptionpublic <V> PersistentStore<V> getOrCreateStore(PersistentStoreConfig<V> storeConfig)
PersistentStoreProviderpersistent store for the given configuration.
Note that implementors have liberty to cache previous store instances.V - store value typestoreConfig - store configurationpublic void close()
throws Exception
close in interface AutoCloseableclose in class BasePersistentStoreProviderExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.