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

Method analysisDone

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

Set the expr to be analyzed and computes isConstant_.

()

Source from the content-addressed store, hash-verified

1234 * Set the expr to be analyzed and computes isConstant_.
1235 */
1236 protected void analysisDone() {
1237 Preconditions.checkState(!isAnalyzed_);
1238 // We need to compute the const-ness as the last step, since analysis may change
1239 // the result, e.g. by resolving function.
1240 isConstant_ = isConstantImpl();
1241 isAnalyzed_ = true;
1242 }
1243
1244 /**
1245 * Resets the internal state of this expr produced by analyze().

Callers 4

analyzeMethod · 0.95
SlotRefMethod · 0.80
NumericLiteralMethod · 0.80
CastExprMethod · 0.80

Calls 1

isConstantImplMethod · 0.95

Tested by

no test coverage detected