public class TezCompiler extends PhyPlanVisitor
Modifier and Type | Field and Description |
---|---|
static String |
FILE_CONCATENATION_THRESHOLD |
static String |
OPTIMISTIC_FILE_CONCATENATION |
static String |
USER_COMPARATOR_MARKER |
mCurrentWalker, mPlan
Constructor and Description |
---|
TezCompiler(PhysicalPlan plan,
PigContext pigContext) |
visit, visitAdd, visitAnd, visitBinCond, visitCast, visitComparisonFunc, visitConstant, visitDemux, visitDivide, visitEqualTo, visitGreaterThan, visitGTOrEqual, visitIsNull, visitLessThan, visitLTOrEqual, visitMapLookUp, visitMod, visitMultiply, visitNegative, visitNot, visitNotEqualTo, visitOr, visitPartialAgg, visitPartitionRearrange, visitPoissonSample, visitPOOptimizedForEach, visitPreCombinerLocalRearrange, visitProject, visitRegexp, visitReservoirSample, visitSubtract, visitUserFunc
getPlan, popWalker, pushWalker, visit
public static final String USER_COMPARATOR_MARKER
public static final String FILE_CONCATENATION_THRESHOLD
public static final String OPTIMISTIC_FILE_CONCATENATION
public TezCompiler(PhysicalPlan plan, PigContext pigContext) throws TezCompilerException
TezCompilerException
public TezOperPlan getTezPlan()
public TezPlanContainer getPlanContainer() throws PlanException
PlanException
public TezOperPlan compile() throws IOException, PlanException, VisitorException
IOException
PlanException
VisitorException
public void visitCollectedGroup(POCollectedGroup op) throws VisitorException
visitCollectedGroup
in class PhyPlanVisitor
VisitorException
public void visitCounter(POCounter op) throws VisitorException
visitCounter
in class PhyPlanVisitor
VisitorException
public void visitCross(POCross op) throws VisitorException
visitCross
in class PhyPlanVisitor
VisitorException
public void visitDistinct(PODistinct op) throws VisitorException
visitDistinct
in class PhyPlanVisitor
VisitorException
public void visitFilter(POFilter op) throws VisitorException
visitFilter
in class PhyPlanVisitor
VisitorException
public void visitFRJoin(POFRJoin op) throws VisitorException
visitFRJoin
in class PhyPlanVisitor
VisitorException
public void visitLimit(POLimit op) throws VisitorException
visitLimit
in class PhyPlanVisitor
VisitorException
public void visitLoad(POLoad op) throws VisitorException
visitLoad
in class PhyPlanVisitor
VisitorException
public void visitLocalRearrange(POLocalRearrange op) throws VisitorException
visitLocalRearrange
in class PhyPlanVisitor
VisitorException
public void visitGlobalRearrange(POGlobalRearrange op) throws VisitorException
visitGlobalRearrange
in class PhyPlanVisitor
VisitorException
public void visitMergeCoGroup(POMergeCogroup poCoGrp) throws VisitorException
visitMergeCoGroup
in class PhyPlanVisitor
VisitorException
public void visitMergeJoin(POMergeJoin joinOp) throws VisitorException
visitMergeJoin
in class PhyPlanVisitor
VisitorException
public void visitNative(PONative op) throws VisitorException
visitNative
in class PhyPlanVisitor
VisitorException
public void visitPackage(POPackage op) throws VisitorException
visitPackage
in class PhyPlanVisitor
VisitorException
public void visitPOForEach(POForEach op) throws VisitorException
visitPOForEach
in class PhyPlanVisitor
VisitorException
public void visitRank(PORank op) throws VisitorException
visitRank
in class PhyPlanVisitor
VisitorException
public void visitSkewedJoin(POSkewedJoin op) throws VisitorException
visitSkewedJoin
in class PhyPlanVisitor
VisitorException
public static Pair<POProject,Byte>[] getSortCols(List<PhysicalPlan> plans) throws PlanException
PlanException
public void visitSort(POSort op) throws VisitorException
visitSort
in class PhyPlanVisitor
VisitorException
public void visitSplit(POSplit op) throws VisitorException
visitSplit
in class PhyPlanVisitor
VisitorException
public void visitStore(POStore op) throws VisitorException
visitStore
in class PhyPlanVisitor
VisitorException
public void visitStream(POStream op) throws VisitorException
visitStream
in class PhyPlanVisitor
VisitorException
public void visitUnion(POUnion op) throws VisitorException
visitUnion
in class PhyPlanVisitor
VisitorException
Copyright © 2007-2012 The Apache Software Foundation