@Internal public class CoreModuleFactory extends Object implements ModuleFactory
CoreModule.ModuleFactory.Context| Modifier and Type | Field and Description |
|---|---|
static String |
IDENTIFIER |
| Constructor and Description |
|---|
CoreModuleFactory() |
| Modifier and Type | Method and Description |
|---|---|
Module |
createModule(ModuleFactory.Context context)
Creates and configures a
Module. |
String |
factoryIdentifier()
Returns a unique identifier among same factory interfaces.
|
Set<org.apache.flink.configuration.ConfigOption<?>> |
optionalOptions()
Returns a set of
ConfigOption that an implementation of this factory consumes in
addition to Factory.requiredOptions(). |
Set<org.apache.flink.configuration.ConfigOption<?>> |
requiredOptions()
Returns a set of
ConfigOption that an implementation of this factory requires in
addition to Factory.optionalOptions(). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateModule, requiredContext, supportedPropertiespublic static final String IDENTIFIER
public String factoryIdentifier()
FactoryFor 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).
factoryIdentifier in interface FactoryfactoryIdentifier in interface ModuleFactorypublic Set<org.apache.flink.configuration.ConfigOption<?>> requiredOptions()
FactoryConfigOption that an implementation of this factory requires in
addition to Factory.optionalOptions().
See the documentation of Factory for more information.
requiredOptions in interface FactoryrequiredOptions in interface ModuleFactorypublic Set<org.apache.flink.configuration.ConfigOption<?>> optionalOptions()
FactoryConfigOption that an implementation of this factory consumes in
addition to Factory.requiredOptions().
See the documentation of Factory for more information.
optionalOptions in interface FactoryoptionalOptions in interface ModuleFactorypublic Module createModule(ModuleFactory.Context context)
ModuleFactoryModule.createModule in interface ModuleFactoryCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.