Package org.apache.flink.table.module
Class CoreModuleFactory
- java.lang.Object
-
- org.apache.flink.table.module.CoreModuleFactory
-
- All Implemented Interfaces:
Factory,ModuleFactory
@Internal public class CoreModuleFactory extends Object implements ModuleFactory
Factory forCoreModule.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.table.factories.ModuleFactory
ModuleFactory.Context
-
-
Field Summary
Fields Modifier and Type Field Description static StringIDENTIFIER
-
Constructor Summary
Constructors Constructor Description CoreModuleFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModulecreateModule(ModuleFactory.Context context)Creates and configures aModule.StringfactoryIdentifier()Returns a unique identifier among same factory interfaces.Set<org.apache.flink.configuration.ConfigOption<?>>optionalOptions()Returns a set ofConfigOptionthat an implementation of this factory consumes in addition toFactory.requiredOptions().Set<org.apache.flink.configuration.ConfigOption<?>>requiredOptions()Returns a set ofConfigOptionthat an implementation of this factory requires in addition toFactory.optionalOptions().
-
-
-
Field Detail
-
IDENTIFIER
public static final String IDENTIFIER
- See Also:
- Constant Field Values
-
-
Method Detail
-
factoryIdentifier
public String factoryIdentifier()
Description copied from interface:FactoryReturns a unique identifier among same factory interfaces.For consistency, an identifier should be declared as one lower case word (e.g.
kafka). If multiple factories exist for different versions, a version should be appended using "-" (e.g.elasticsearch-7).- Specified by:
factoryIdentifierin interfaceFactory- Specified by:
factoryIdentifierin interfaceModuleFactory
-
requiredOptions
public Set<org.apache.flink.configuration.ConfigOption<?>> requiredOptions()
Description copied from interface:FactoryReturns a set ofConfigOptionthat an implementation of this factory requires in addition toFactory.optionalOptions().See the documentation of
Factoryfor more information.- Specified by:
requiredOptionsin interfaceFactory- Specified by:
requiredOptionsin interfaceModuleFactory
-
optionalOptions
public Set<org.apache.flink.configuration.ConfigOption<?>> optionalOptions()
Description copied from interface:FactoryReturns a set ofConfigOptionthat an implementation of this factory consumes in addition toFactory.requiredOptions().See the documentation of
Factoryfor more information.- Specified by:
optionalOptionsin interfaceFactory- Specified by:
optionalOptionsin interfaceModuleFactory
-
createModule
public Module createModule(ModuleFactory.Context context)
Description copied from interface:ModuleFactoryCreates and configures aModule.- Specified by:
createModulein interfaceModuleFactory
-
-