public class TezCompilerUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TUPLE_CLASS |
Modifier and Type | Method and Description |
---|---|
static void |
configureValueOnlyTupleOutput(TezEdgeDescriptor edge,
DataMovementType dataMovementType) |
static TezEdgeDescriptor |
connect(TezOperPlan plan,
TezOperator from,
TezOperator to) |
static void |
connect(TezOperPlan plan,
TezOperator from,
TezOperator to,
TezEdgeDescriptor edge) |
static POForEach |
getForEach(POProject project,
int rp,
java.lang.String scope,
NodeIdGenerator nig) |
static POForEach |
getForEachPlain(java.lang.String scope,
NodeIdGenerator nig) |
static POStore |
getStore(java.lang.String scope,
NodeIdGenerator nig) |
static boolean |
isIntermediateReducer(TezOperator tezOper)
Returns true if there are no loads or stores in a TezOperator.
|
static void |
setCustomPartitioner(java.lang.String customPartitioner,
TezOperator tezOp) |
static void |
simpleConnectTwoVertex(TezOperPlan tezPlan,
TezOperator op1,
TezOperator op2,
java.lang.String scope,
NodeIdGenerator nig) |
public static void simpleConnectTwoVertex(TezOperPlan tezPlan, TezOperator op1, TezOperator op2, java.lang.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 POForEach getForEach(POProject project, int rp, java.lang.String scope, NodeIdGenerator nig)
public static POForEach getForEachPlain(java.lang.String scope, NodeIdGenerator nig)
public static POStore getStore(java.lang.String scope, NodeIdGenerator nig)
public static void setCustomPartitioner(java.lang.String customPartitioner, TezOperator tezOp) throws java.io.IOException
java.io.IOException
public static void configureValueOnlyTupleOutput(TezEdgeDescriptor edge, DataMovementType dataMovementType)
public static boolean isIntermediateReducer(TezOperator tezOper) throws VisitorException
VisitorException
Copyright © 2007-2012 The Apache Software Foundation