Class AdaptiveBroadcastJoinOptimizationStrategy
java.lang.Object
org.apache.flink.table.runtime.strategy.BaseAdaptiveJoinOperatorOptimizationStrategy
org.apache.flink.table.runtime.strategy.AdaptiveBroadcastJoinOptimizationStrategy
- All Implemented Interfaces:
org.apache.flink.runtime.scheduler.adaptivebatch.StreamGraphOptimizationStrategy
public class AdaptiveBroadcastJoinOptimizationStrategy
extends BaseAdaptiveJoinOperatorOptimizationStrategy
The stream graph optimization strategy of adaptive broadcast join.
-
Field Summary
Fields inherited from class org.apache.flink.table.runtime.strategy.BaseAdaptiveJoinOperatorOptimizationStrategy
LEFT_INPUT_TYPE_NUMBER, RIGHT_INPUT_TYPE_NUMBERFields inherited from interface org.apache.flink.runtime.scheduler.adaptivebatch.StreamGraphOptimizationStrategy
STREAM_GRAPH_OPTIMIZATION_STRATEGY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(org.apache.flink.streaming.api.graph.StreamGraphContext context) booleanonOperatorsFinished(org.apache.flink.runtime.scheduler.adaptivebatch.OperatorsFinished operatorsFinished, org.apache.flink.streaming.api.graph.StreamGraphContext context) protected voidtryOptimizeAdaptiveJoin(org.apache.flink.runtime.scheduler.adaptivebatch.OperatorsFinished operatorsFinished, org.apache.flink.streaming.api.graph.StreamGraphContext context, org.apache.flink.streaming.api.graph.util.ImmutableStreamNode adaptiveJoinNode, List<org.apache.flink.streaming.api.graph.util.ImmutableStreamEdge> upstreamStreamEdges, AdaptiveJoin adaptiveJoin) Methods inherited from class org.apache.flink.table.runtime.strategy.BaseAdaptiveJoinOperatorOptimizationStrategy
visitDownstreamAdaptiveJoinNode
-
Constructor Details
-
AdaptiveBroadcastJoinOptimizationStrategy
public AdaptiveBroadcastJoinOptimizationStrategy()
-
-
Method Details
-
initialize
public void initialize(org.apache.flink.streaming.api.graph.StreamGraphContext context) -
onOperatorsFinished
public boolean onOperatorsFinished(org.apache.flink.runtime.scheduler.adaptivebatch.OperatorsFinished operatorsFinished, org.apache.flink.streaming.api.graph.StreamGraphContext context) -
tryOptimizeAdaptiveJoin
protected void tryOptimizeAdaptiveJoin(org.apache.flink.runtime.scheduler.adaptivebatch.OperatorsFinished operatorsFinished, org.apache.flink.streaming.api.graph.StreamGraphContext context, org.apache.flink.streaming.api.graph.util.ImmutableStreamNode adaptiveJoinNode, List<org.apache.flink.streaming.api.graph.util.ImmutableStreamEdge> upstreamStreamEdges, AdaptiveJoin adaptiveJoin)
-