Class ClearQueryHintsOnUnmatchedNodesShuttle
java.lang.Object
org.apache.calcite.rel.RelShuttleImpl
org.apache.calcite.rel.RelHomogeneousShuttle
org.apache.flink.table.planner.hint.ClearQueryHintsOnUnmatchedNodesShuttle
- All Implemented Interfaces:
org.apache.calcite.rel.RelShuttle
public class ClearQueryHintsOnUnmatchedNodesShuttle
extends org.apache.calcite.rel.RelHomogeneousShuttle
Clear the invalid query hints in the unmatched nodes. For example, a query hint may be attached
in the Project node at first. After accepting this shuttle, the query hint in the Project node
will be cleared.
See more at FlinkHintStrategies.
Tips, hints about view and alias will not be cleared.
-
Field Summary
Fields inherited from class org.apache.calcite.rel.RelShuttleImpl
stack -
Constructor Summary
ConstructorsConstructorDescriptionClearQueryHintsOnUnmatchedNodesShuttle(org.apache.calcite.rel.hint.HintStrategyTable hintStrategyTable) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.rel.RelNodevisit(org.apache.calcite.rel.RelNode other) Methods inherited from class org.apache.calcite.rel.RelHomogeneousShuttle
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitMethods inherited from class org.apache.calcite.rel.RelShuttleImpl
visitChild, visitChildren
-
Constructor Details
-
ClearQueryHintsOnUnmatchedNodesShuttle
public ClearQueryHintsOnUnmatchedNodesShuttle(org.apache.calcite.rel.hint.HintStrategyTable hintStrategyTable)
-
-
Method Details
-
visit
public org.apache.calcite.rel.RelNode visit(org.apache.calcite.rel.RelNode other) - Specified by:
visitin interfaceorg.apache.calcite.rel.RelShuttle- Overrides:
visitin classorg.apache.calcite.rel.RelShuttleImpl
-