@Internal public class CoreModuleFactory extends Object implements ModuleFactory
CoreModule.ModuleFactory.Context| 限定符和类型 | 字段和说明 |
|---|---|
static String |
IDENTIFIER |
| 构造器和说明 |
|---|
CoreModuleFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 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 在接口中 FactoryfactoryIdentifier 在接口中 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 在接口中 FactoryrequiredOptions 在接口中 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 在接口中 FactoryoptionalOptions 在接口中 ModuleFactorypublic Module createModule(ModuleFactory.Context context)
ModuleFactoryModule.createModule 在接口中 ModuleFactoryCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.