public class ProjStarInUdfExpander extends AllExpressionVisitor
ProjectStarExpander because in those
cases, the project star gets expanded as new LogicalExpressionPlan.
In case of project-star or project-range within udf, it should get expanded
only as multiple inputs to this udf, no addtional LogicalExpressionPlans
are created.
The expansion happens only if input schema is not nullcurrentOpcurrentWalker, DEFAULT_SCOPE, plan| Constructor and Description |
|---|
ProjStarInUdfExpander(OperatorPlan plan) |
| Modifier and Type | Method and Description |
|---|---|
protected LogicalExpressionVisitor |
getVisitor(LogicalExpressionPlan exprPlan)
Get a new instance of the expression visitor to apply to
a given expression.
|
void |
visit(LOForEach foreach) |
void |
visit(LOGenerate gen) |
visit, visit, visit, visit, visit, visit, visit, visit, visitvisit, visit, visit, visit, visit, visit, visit, visitgetPlan, popWalker, pushWalker, visitpublic ProjStarInUdfExpander(OperatorPlan plan) throws FrontendException
FrontendExceptionprotected LogicalExpressionVisitor getVisitor(LogicalExpressionPlan exprPlan) throws FrontendException
AllExpressionVisitorgetVisitor in class AllExpressionVisitorexprPlan - LogicalExpressionPlan that will be visitedFrontendExceptionpublic void visit(LOForEach foreach) throws FrontendException
visit in class AllExpressionVisitorFrontendExceptionpublic void visit(LOGenerate gen) throws FrontendException
visit in class AllExpressionVisitorFrontendExceptionCopyright © 2007-2017 The Apache Software Foundation