Package org.apache.flink.table.factories
Class FactoryUtil.DefaultCatalogStoreContext
- java.lang.Object
-
- org.apache.flink.table.factories.FactoryUtil.DefaultCatalogStoreContext
-
- All Implemented Interfaces:
CatalogStoreFactory.Context
- Enclosing class:
- FactoryUtil
@Internal public static class FactoryUtil.DefaultCatalogStoreContext extends Object implements CatalogStoreFactory.Context
Default implementation ofCatalogStoreFactory.Context.
-
-
Constructor Summary
Constructors Constructor Description DefaultCatalogStoreContext(Map<String,String> options, org.apache.flink.configuration.ReadableConfig configuration, ClassLoader classLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassLoadergetClassLoader()Returns the class loader of the current session.org.apache.flink.configuration.ReadableConfiggetConfiguration()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.
-
-
-
Constructor Detail
-
DefaultCatalogStoreContext
public DefaultCatalogStoreContext(Map<String,String> options, org.apache.flink.configuration.ReadableConfig configuration, ClassLoader classLoader)
-
-
Method Detail
-
getOptions
public Map<String,String> getOptions()
Description copied from interface:CatalogStoreFactory.ContextReturns the options with which the catalog store is created.An implementation should perform validation of these options.
- Specified by:
getOptionsin interfaceCatalogStoreFactory.Context
-
getConfiguration
public org.apache.flink.configuration.ReadableConfig getConfiguration()
Description copied from interface:CatalogStoreFactory.ContextGives read-only access to the configuration of the current session.- Specified by:
getConfigurationin interfaceCatalogStoreFactory.Context
-
getClassLoader
public ClassLoader getClassLoader()
Description copied from interface:CatalogStoreFactory.ContextReturns the class loader of the current session.The class loader is in particular useful for discovering further (nested) factories.
- Specified by:
getClassLoaderin interfaceCatalogStoreFactory.Context
-
-