Package org.apache.flink.table.factories
Interface ModuleFactory.Context
- All Known Implementing Classes:
FactoryUtil.DefaultModuleContext
- Enclosing interface:
- ModuleFactory
@PublicEvolving
public static interface ModuleFactory.Context
Context provided when a module is created.
-
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 module is created.
-
Method Details
-
getOptions
Returns the options with which the module is created.An implementation should perform validation of these options.
-
getConfiguration
org.apache.flink.configuration.ReadableConfig getConfiguration()Gives read-only access to the configuration of the current session. -
getClassLoader
ClassLoader getClassLoader()Returns the class loader of the current session.The class loader is in particular useful for discovering further (nested) factories.
-