@Internal public static class FactoryUtil.DefaultCatalogContext extends Object implements CatalogFactory.Context
CatalogFactory.Context.| 构造器和说明 |
|---|
DefaultCatalogContext(String name,
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.
|
String |
getName()
Returns the name with which the catalog is created.
|
Map<String,String> |
getOptions()
Returns the options with which the catalog is created.
|
public DefaultCatalogContext(String name, Map<String,String> options, org.apache.flink.configuration.ReadableConfig configuration, ClassLoader classLoader)
public String getName()
CatalogFactory.ContextgetName 在接口中 CatalogFactory.Contextpublic Map<String,String> getOptions()
CatalogFactory.ContextAn implementation should perform validation of these options.
getOptions 在接口中 CatalogFactory.Contextpublic org.apache.flink.configuration.ReadableConfig getConfiguration()
CatalogFactory.ContextgetConfiguration 在接口中 CatalogFactory.Contextpublic ClassLoader getClassLoader()
CatalogFactory.ContextThe class loader is in particular useful for discovering further (nested) factories.
getClassLoader 在接口中 CatalogFactory.ContextCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.