Class MongoPersistentStoreProvider
java.lang.Object
org.apache.drill.exec.store.sys.store.provider.BasePersistentStoreProvider
org.apache.drill.exec.store.mongo.config.MongoPersistentStoreProvider
- All Implemented Interfaces:
AutoCloseable,PersistentStoreProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()<V> PersistentStore<V> getOrCreateStore(PersistentStoreConfig<V> config) Gets or creates apersistent storefor the given configuration.voidstart()Sets up the provider.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.drill.exec.store.sys.PersistentStoreProvider
getOrCreateVersionedStore
-
Constructor Details
-
MongoPersistentStoreProvider
-
-
Method Details
-
start
Description copied from interface:PersistentStoreProviderSets up the provider.- Specified by:
startin interfacePersistentStoreProvider- Overrides:
startin classBasePersistentStoreProvider- Throws:
IOException
-
getOrCreateStore
Description copied from interface:PersistentStoreProviderGets or creates apersistent storefor the given configuration. Note that implementors have liberty to cache previousstoreinstances.- Type Parameters:
V- store value type- Parameters:
config- store configuration- Returns:
- persistent store instance
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classBasePersistentStoreProvider
-