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 of
CatalogStoreFactory.Context.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultCatalogStoreContext(Map<String, String> options, org.apache.flink.configuration.ReadableConfig configuration, ClassLoader classLoader) -
Method Summary
Modifier and TypeMethodDescriptionReturns the class loader of the current session.org.apache.flink.configuration.ReadableConfigGives read-only access to the configuration of the current session.Returns the options with which the catalog store is created.
-
Constructor Details
-
DefaultCatalogStoreContext
public DefaultCatalogStoreContext(Map<String, String> options, org.apache.flink.configuration.ReadableConfig configuration, ClassLoader classLoader)
-
-
Method Details
-
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
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
-