|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pig.impl.plan.PlanVisitor<LogicalOperator,LogicalPlan>
org.apache.pig.impl.logicalLayer.LOVisitor
org.apache.pig.impl.logicalLayer.CastFinder
public class CastFinder
A visitor to track the casts in a plan.
Field Summary |
---|
Fields inherited from class org.apache.pig.impl.plan.PlanVisitor |
---|
mCurrentWalker, mPlan |
Constructor Summary | |
---|---|
CastFinder(LogicalPlan plan)
|
Method Summary | |
---|---|
boolean |
foundAnyCast()
|
List<LOCast> |
getCastList()
|
Set<LOCast> |
getCastSet()
|
protected void |
visit(LOCast cast)
|
Methods inherited from class org.apache.pig.impl.logicalLayer.LOVisitor |
---|
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit |
Methods inherited from class org.apache.pig.impl.plan.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 |
---|
public CastFinder(LogicalPlan plan)
plan
- logical plan to query the presence of UDFsMethod Detail |
---|
protected void visit(LOCast cast) throws VisitorException
visit
in class LOVisitor
cast
- the logical cast operator that has to be visited
VisitorException
public List<LOCast> getCastList()
public Set<LOCast> getCastSet()
public boolean foundAnyCast()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |