Package org.apache.flink.table.factories
Class WorkflowSchedulerFactoryUtil
java.lang.Object
org.apache.flink.table.factories.WorkflowSchedulerFactoryUtil
Utility for working with
WorkflowScheduler.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDefault implementation ofWorkflowSchedulerFactory.Context.static classHelper utility for validating all options for aWorkflowSchedulerFactory. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.createWorkflowSchedulerFactoryHelper(WorkflowSchedulerFactory workflowSchedulerFactory, WorkflowSchedulerFactory.Context context) Creates a utility that helps to validate options for aWorkflowSchedulerFactory.
-
Field Details
-
WORKFLOW_SCHEDULER_PREFIX
- See Also:
-
-
Method Details
-
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.
-