Package org.apache.flink.table.factories
Class WorkflowSchedulerFactoryUtil
- java.lang.Object
-
- org.apache.flink.table.factories.WorkflowSchedulerFactoryUtil
-
@PublicEvolving public class WorkflowSchedulerFactoryUtil extends Object
Utility for working withWorkflowScheduler.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkflowSchedulerFactoryUtil.DefaultWorkflowSchedulerContextDefault implementation ofWorkflowSchedulerFactory.Context.static classWorkflowSchedulerFactoryUtil.WorkflowSchedulerFactoryHelperHelper utility for validating all options for aWorkflowSchedulerFactory.
-
Field Summary
Fields Modifier and Type Field Description static StringWORKFLOW_SCHEDULER_PREFIX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WorkflowScheduler<?>createWorkflowScheduler(org.apache.flink.configuration.Configuration configuration, ClassLoader classLoader)Attempts to discover the appropriate workflow scheduler factory and creates the instance of the scheduler.static WorkflowSchedulerFactoryUtil.WorkflowSchedulerFactoryHelpercreateWorkflowSchedulerFactoryHelper(WorkflowSchedulerFactory workflowSchedulerFactory, WorkflowSchedulerFactory.Context context)Creates a utility that helps to validate options for aWorkflowSchedulerFactory.
-
-
-
Field Detail
-
WORKFLOW_SCHEDULER_PREFIX
public static final String WORKFLOW_SCHEDULER_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
createWorkflowScheduler
@Nullable public static WorkflowScheduler<?> createWorkflowScheduler(org.apache.flink.configuration.Configuration configuration, ClassLoader classLoader)
Attempts to discover the appropriate workflow scheduler factory and creates the instance of the scheduler. Return null directly if doesn't specify the workflow scheduler in config because it is optional for materialized table.
-
createWorkflowSchedulerFactoryHelper
public static WorkflowSchedulerFactoryUtil.WorkflowSchedulerFactoryHelper createWorkflowSchedulerFactoryHelper(WorkflowSchedulerFactory workflowSchedulerFactory, WorkflowSchedulerFactory.Context context)
Creates a utility that helps to validate options for aWorkflowSchedulerFactory.Note: This utility checks for left-over options in the final step.
-
-