Package org.apache.flink.table.factories
Class WorkflowSchedulerFactoryUtil.DefaultWorkflowSchedulerContext
- java.lang.Object
-
- org.apache.flink.table.factories.WorkflowSchedulerFactoryUtil.DefaultWorkflowSchedulerContext
-
- All Implemented Interfaces:
WorkflowSchedulerFactory.Context
- Enclosing class:
- WorkflowSchedulerFactoryUtil
@Internal public static class WorkflowSchedulerFactoryUtil.DefaultWorkflowSchedulerContext extends Object implements WorkflowSchedulerFactory.Context
Default implementation ofWorkflowSchedulerFactory.Context.
-
-
Constructor Summary
Constructors Constructor Description DefaultWorkflowSchedulerContext(org.apache.flink.configuration.ReadableConfig configuration, Map<String,String> workflowSchedulerConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.configuration.ReadableConfiggetConfiguration()Gives the config option to createWorkflowScheduler.Map<String,String>getWorkflowSchedulerOptions()Returns the options with which the workflow scheduler is created.
-
-
-
Method Detail
-
getConfiguration
public org.apache.flink.configuration.ReadableConfig getConfiguration()
Description copied from interface:WorkflowSchedulerFactory.ContextGives the config option to createWorkflowScheduler.- Specified by:
getConfigurationin interfaceWorkflowSchedulerFactory.Context
-
getWorkflowSchedulerOptions
public Map<String,String> getWorkflowSchedulerOptions()
Description copied from interface:WorkflowSchedulerFactory.ContextReturns the options with which the workflow scheduler is created. All options that are prefixed with the workflow scheduler identifier are included in the map.All the keys in the options are pruned with the prefix. For example, the option
workflow-scheduler.airflow.endpoint's key isendpointin the map.An implementation should perform validation of these options.
- Specified by:
getWorkflowSchedulerOptionsin interfaceWorkflowSchedulerFactory.Context
-
-