@Internal public static class FactoryUtil.DefaultModuleContext extends Object implements ModuleFactory.Context
ModuleFactory.Context.| 构造器和说明 |
|---|
DefaultModuleContext(Map<String,String> options,
org.apache.flink.configuration.ReadableConfig configuration,
ClassLoader classLoader) |
| 限定符和类型 | 方法和说明 |
|---|---|
ClassLoader |
getClassLoader()
Returns the class loader of the current session.
|
org.apache.flink.configuration.ReadableConfig |
getConfiguration()
Gives read-only access to the configuration of the current session.
|
Map<String,String> |
getOptions()
Returns the options with which the module is created.
|
public DefaultModuleContext(Map<String,String> options, org.apache.flink.configuration.ReadableConfig configuration, ClassLoader classLoader)
public Map<String,String> getOptions()
ModuleFactory.ContextAn implementation should perform validation of these options.
getOptions 在接口中 ModuleFactory.Contextpublic org.apache.flink.configuration.ReadableConfig getConfiguration()
ModuleFactory.ContextgetConfiguration 在接口中 ModuleFactory.Contextpublic ClassLoader getClassLoader()
ModuleFactory.ContextThe class loader is in particular useful for discovering further (nested) factories.
getClassLoader 在接口中 ModuleFactory.ContextCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.