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

Method analyzeNoThrow

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

Helper function to analyze this expr and assert that the analysis was successful. TODO: This function could be used in many more places to clean up. Consider adding an IAnalyzable interface or similar to and move this helper into Analyzer such that non-Expr things can use the helper also.

(Analyzer analyzer)

Source from the content-addressed store, hash-verified

586 * such that non-Expr things can use the helper also.
587 */
588 public void analyzeNoThrow(Analyzer analyzer) {
589 try {
590 analyze(analyzer);
591 } catch (AnalysisException e) {
592 throw new IllegalStateException(e);
593 }
594 }
595
596 /**
597 * Helper function to properly count the number of statement expressions.

Callers 15

applyMethod · 0.95
convertToCNFMethod · 0.80
applyMethod · 0.80
getNormalizedEqPredMethod · 0.80
getTargetSlotsMethod · 0.80
computeTargetExprMethod · 0.80

Calls 1

analyzeMethod · 0.95

Tested by

no test coverage detected