Class ConstantFoldingUtil
java.lang.Object
org.apache.flink.table.planner.plan.utils.ConstantFoldingUtil
Utility for deciding whether than expression supports constant folding or not.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleansupportsConstantFolding(org.apache.calcite.rex.RexNode node) Checks whether it contains any function calls which don't support constant folding.
-
Constructor Details
-
ConstantFoldingUtil
public ConstantFoldingUtil()
-
-
Method Details
-
supportsConstantFolding
public static boolean supportsConstantFolding(org.apache.calcite.rex.RexNode node) Checks whether it contains any function calls which don't support constant folding.- Parameters:
node- the RexNode to check- Returns:
- true if it contains any unsupported function calls in the specified node.
-