use of org.apache.asterix.lang.aql.expression.UnionExpr in project asterixdb by apache.
the class AQLCloneAndSubstituteVariablesVisitor method visit.
@Override
public Pair<ILangExpression, VariableSubstitutionEnvironment> visit(UnionExpr u, VariableSubstitutionEnvironment env) throws CompilationException {
List<Expression> exprList = VariableCloneAndSubstitutionUtil.visitAndCloneExprList(u.getExprs(), env, this);
UnionExpr newU = new UnionExpr(exprList);
return new Pair<ILangExpression, VariableSubstitutionEnvironment>(newU, env);
}
Aggregations