org.apache.pig.newplan.logical.visitor
Class UDFFinder

java.lang.Object
  extended by org.apache.pig.newplan.PlanVisitor
      extended by org.apache.pig.newplan.logical.relational.LogicalRelationalNodesVisitor
          extended by org.apache.pig.newplan.logical.visitor.UDFFinder

public class UDFFinder
extends LogicalRelationalNodesVisitor


Field Summary
 
Fields inherited from class org.apache.pig.newplan.PlanVisitor
currentWalker, DEFAULT_SCOPE, plan
 
Constructor Summary
UDFFinder(OperatorPlan plan)
           
 
Method Summary
 List<UserFuncExpression> getUDFList()
           
 void visit(LOForEach foreach)
           
 void visit(LOGenerate generate)
           
 
Methods inherited from class org.apache.pig.newplan.logical.relational.LogicalRelationalNodesVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
 
Methods inherited from class org.apache.pig.newplan.PlanVisitor
getPlan, popWalker, pushWalker, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDFFinder

public UDFFinder(OperatorPlan plan)
          throws FrontendException
Throws:
FrontendException
Method Detail

visit

public void visit(LOForEach foreach)
           throws FrontendException
Overrides:
visit in class LogicalRelationalNodesVisitor
Throws:
FrontendException

visit

public void visit(LOGenerate generate)
           throws FrontendException
Overrides:
visit in class LogicalRelationalNodesVisitor
Throws:
FrontendException

getUDFList

public List<UserFuncExpression> getUDFList()
Returns:
true if the plan had any UDFs; false otherwise


Copyright © 2007-2012 The Apache Software Foundation