public class HBasePersistentStoreProvider extends BasePersistentStoreProvider
| Constructor and Description |
|---|
HBasePersistentStoreProvider(org.apache.hadoop.conf.Configuration conf,
String storeTableName) |
HBasePersistentStoreProvider(PersistentStoreRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<V> PersistentStore<V> |
getOrCreateStore(PersistentStoreConfig<V> config)
Gets or creates a
persistent store for the given configuration. |
void |
start()
Sets up the provider.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOrCreateVersionedStorepublic HBasePersistentStoreProvider(PersistentStoreRegistry registry)
public HBasePersistentStoreProvider(org.apache.hadoop.conf.Configuration conf,
String storeTableName)
public <V> PersistentStore<V> getOrCreateStore(PersistentStoreConfig<V> config) throws StoreException
PersistentStoreProviderpersistent store for the given configuration.
Note that implementors have liberty to cache previous store instances.V - store value typeconfig - store configurationStoreException - in case when unable to create storepublic void start()
throws IOException
PersistentStoreProviderstart in interface PersistentStoreProviderstart in class BasePersistentStoreProviderIOExceptionpublic void close()
close in interface AutoCloseableclose in class BasePersistentStoreProviderCopyright © 2021 The Apache Software Foundation. All rights reserved.