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

Method trySubstituteList

fe/src/main/java/org/apache/impala/analysis/Expr.java:1188–1197  ·  view source on GitHub ↗
(Iterable<? extends Expr> exprs,
      ExprSubstitutionMap smap, Analyzer analyzer, boolean preserveRootTypes)

Source from the content-addressed store, hash-verified

1186 }
1187
1188 public static List<Expr> trySubstituteList(Iterable<? extends Expr> exprs,
1189 ExprSubstitutionMap smap, Analyzer analyzer, boolean preserveRootTypes)
1190 throws AnalysisException {
1191 if (exprs == null) return null;
1192 List<Expr> result = new ArrayList<>();
1193 for (Expr e: exprs) {
1194 result.add(e.trySubstitute(smap, analyzer, preserveRootTypes));
1195 }
1196 return result;
1197 }
1198
1199 public static List<Expr> substituteList(Iterable<? extends Expr> exprs,
1200 ExprSubstitutionMap smap, Analyzer analyzer, boolean preserveRootTypes) {

Callers 2

substituteListMethod · 0.95
resolveInlineViewRefsMethod · 0.95

Calls 2

trySubstituteMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected