public class POGlobalRearrange extends PhysicalOperator
PhysicalOperator.OriginalLocation
Modifier and Type | Field and Description |
---|---|
protected String |
customPartitioner |
alias, illustrator, input, inputAttached, inputs, lineageTracer, mBagFactory, mTupleFactory, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, RESULT_EMPTY, RESULT_EOP, resultType
Constructor and Description |
---|
POGlobalRearrange(OperatorKey k) |
POGlobalRearrange(OperatorKey k,
int rp) |
POGlobalRearrange(OperatorKey k,
int rp,
List inp) |
POGlobalRearrange(OperatorKey k,
List inp) |
POGlobalRearrange(POGlobalRearrange copy) |
Modifier and Type | Method and Description |
---|---|
String |
getCustomPartitioner() |
Tuple |
illustratorMarkup(Object in,
Object out,
int eqClassIndex)
input tuple mark up to be illustrate-able
|
boolean |
isBlocking()
A blocking operator should override this to return true.
|
boolean |
isCross() |
String |
name() |
void |
setCross(boolean cross) |
void |
setCustomPartitioner(String customPartitioner) |
boolean |
supportsMultipleInputs()
Indicates whether this operator supports multiple inputs.
|
boolean |
supportsMultipleOutputs()
Indicates whether this operator supports multiple outputs.
|
void |
visit(PhyPlanVisitor v)
Visit this node with the provided visitor.
|
addOriginalLocation, addOriginalLocation, attachInput, clone, cloneHelper, clonePlans, copyAliasFrom, detachInput, getAlias, getAliasString, getIllustrator, getInputs, getLogger, getNext, getNextBigDecimal, getNextBigInteger, getNextBoolean, getNextDataBag, getNextDataByteArray, getNextDateTime, getNextDouble, getNextFloat, getNextInteger, getNextLong, getNextMap, getNextString, getNextTuple, getOriginalLocations, getParentPlan, getPigLogger, getReporter, getRequestedParallelism, getResultType, isAccumStarted, isAccumulative, isEndOfAllInput, isInputAttached, processInput, reset, setAccumEnd, setAccumStart, setAccumulative, setIllustrator, setInputs, setParentPlan, setPigLogger, setReporter, setRequestedParallelism, setResultType, staticDataCleanup
compareTo, equals, getOperatorKey, getProjectionMap, hashCode, regenerateProjectionMap, rewire, toString, unsetProjectionMap
protected String customPartitioner
public POGlobalRearrange(OperatorKey k)
public POGlobalRearrange(OperatorKey k, int rp)
public POGlobalRearrange(OperatorKey k, List inp)
public POGlobalRearrange(OperatorKey k, int rp, List inp)
public POGlobalRearrange(POGlobalRearrange copy) throws ExecException
ExecException
public String getCustomPartitioner()
public void setCustomPartitioner(String customPartitioner)
public void visit(PhyPlanVisitor v) throws VisitorException
Operator
visit
in class PhysicalOperator
v
- Visitor to visit with.VisitorException
- if the visitor has a problem.public String name()
name
in class Operator<PhyPlanVisitor>
public boolean supportsMultipleInputs()
Operator
supportsMultipleInputs
in class Operator<PhyPlanVisitor>
public boolean supportsMultipleOutputs()
Operator
supportsMultipleOutputs
in class Operator<PhyPlanVisitor>
public boolean isBlocking()
PhysicalOperator
isBlocking
in class PhysicalOperator
public Tuple illustratorMarkup(Object in, Object out, int eqClassIndex)
Illustrable
in
- input tupleout
- output tuple before wrapped in ExampleTupleeqClassIndex
- index into equivalence classes in illustratorpublic void setCross(boolean cross)
public boolean isCross()
Copyright © 2007-2017 The Apache Software Foundation