public class TezCompilerUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
TUPLE_CLASS |
public static String TUPLE_CLASS
public static void simpleConnectTwoVertex(TezOperPlan tezPlan, TezOperator op1, TezOperator op2, String scope, NodeIdGenerator nig) throws PlanException
PlanException
public static TezEdgeDescriptor connect(TezOperPlan plan, TezOperator from, TezOperator to) throws PlanException
PlanException
public static void connect(TezOperPlan plan, TezOperator from, TezOperator to, TezEdgeDescriptor edge) throws PlanException
PlanException
public static void connectTezOpToNewPredecessor(TezOperPlan plan, TezOperator tezOp, TezOperator newPredecessor, TezEdgeDescriptor edge, String oldInputKey) throws PlanException
PlanException
public static void replaceInput(TezOperator tezOp, String oldInputKey, String newInputKey) throws PlanException
PlanException
public static void connectTezOpToNewSuccesor(TezOperPlan plan, TezOperator tezOp, TezOperator newSuccessor, TezEdgeDescriptor edge, String oldOutputKey) throws PlanException
PlanException
public static void replaceOutput(TezOperator tezOp, String oldOutputKey, String newOutputKey) throws PlanException
PlanException
public static boolean isNonPackageInput(String inputKey, TezOperator tezOp) throws PlanException
PlanException
public static POForEach getForEach(POProject project, int rp, String scope, NodeIdGenerator nig)
public static POForEach getForEachPlain(String scope, NodeIdGenerator nig)
public static POStore getStore(String scope, NodeIdGenerator nig)
public static void setCustomPartitioner(String customPartitioner, TezOperator tezOp) throws IOException
IOException
public static void configureValueOnlyTupleOutput(TezEdgeDescriptor edge, org.apache.tez.dag.api.EdgeProperty.DataMovementType dataMovementType)
public static boolean bagDataTypeInCombinePlan(PhysicalPlan combinePlan) throws ExecException
ExecException
Copyright © 2007-2012 The Apache Software Foundation