MCPcopy Create free account
hub / github.com/apache/impala / isConstantImpl

Method isConstantImpl

fe/src/main/java/org/apache/impala/analysis/Expr.java:1555–1560  ·  view source on GitHub ↗

Implements isConstant() - computes the value without using 'isConstant_'.

()

Source from the content-addressed store, hash-verified

1553 * Implements isConstant() - computes the value without using 'isConstant_'.
1554 */
1555 protected boolean isConstantImpl() {
1556 for (Expr expr : children_) {
1557 if (!expr.isConstant()) return false;
1558 }
1559 return true;
1560 }
1561
1562 /**
1563 * Return true if and only if all exprs in 'exprs' are constant.

Callers 2

analysisDoneMethod · 0.95
isConstantMethod · 0.95

Calls 1

isConstantMethod · 0.80

Tested by

no test coverage detected