@Internal public static class FactoryUtil.DefaultCatalogStoreContext extends Object implements CatalogStoreFactory.Context
CatalogStoreFactory.Context.| Constructor and Description |
|---|
DefaultCatalogStoreContext(Map<String,String> options,
org.apache.flink.configuration.ReadableConfig configuration,
ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader()
Returns the class loader of the current session.
|
org.apache.flink.configuration.ReadableConfig |
getConfiguration()
Gives read-only access to the configuration of the current session.
|
Map<String,String> |
getOptions()
Returns the options with which the catalog store is created.
|
public DefaultCatalogStoreContext(Map<String,String> options, org.apache.flink.configuration.ReadableConfig configuration, ClassLoader classLoader)
public Map<String,String> getOptions()
CatalogStoreFactory.ContextAn implementation should perform validation of these options.
getOptions in interface CatalogStoreFactory.Contextpublic org.apache.flink.configuration.ReadableConfig getConfiguration()
CatalogStoreFactory.ContextgetConfiguration in interface CatalogStoreFactory.Contextpublic ClassLoader getClassLoader()
CatalogStoreFactory.ContextThe class loader is in particular useful for discovering further (nested) factories.
getClassLoader in interface CatalogStoreFactory.ContextCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.