org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators
Class POLocalRearrangeForIllustrate
java.lang.Object
org.apache.pig.impl.plan.Operator<PhyPlanVisitor>
org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator
org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POLocalRearrange
org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POLocalRearrangeForIllustrate
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<Operator>
public class POLocalRearrangeForIllustrate
- extends POLocalRearrange
The local rearrange operator is a part of the co-group
implementation. It has an embedded physical plan that
generates tuples of the form (grpKey,(indxed inp Tuple)).
- See Also:
- Serialized Form
Fields inherited from class org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POLocalRearrange |
index, isCross, keyType, leafOps, mainKeyType, mFakeTuple, mIsDistinct, mTupleFactory, plans, secondaryKeyType, secondaryLeafOps, secondaryPlans |
Fields inherited from class org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator |
dummyBag, dummyBool, dummyDBA, dummyDouble, dummyFloat, dummyInt, dummyLong, dummyMap, dummyString, dummyTuple, input, inputAttached, inputs, lineageTracer, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, resultType |
Fields inherited from class org.apache.pig.impl.plan.Operator |
mKey |
Methods inherited from class org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POLocalRearrange |
attachInput, getIndex, getKeyFromResult, getKeyType, getNext, getPlans, getProjectedColsMap, getSecondaryProjectedColsMap, isCross, isDistinct, isKeyTuple, isProjectStar, isSecondaryKeyTuple, isSecondaryProjectStar, setCross, setDistinct, setIndex, setKeyType, setMultiQueryIndex, setPlans, setPlansFromCombiner, setSecondaryPlans, setUseSecondaryKey, supportsMultipleInputs, supportsMultipleOutputs |
Methods inherited from class org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator |
cloneHelper, detachInput, getInputs, getLogger, getNext, getNext, getNext, getNext, getNext, getNext, getNext, getNext, getNext, getPigLogger, getRequestedParallelism, getResultType, isAccumStarted, isAccumulative, isBlocking, isInputAttached, processInput, reset, setAccumEnd, setAccumStart, setAccumulative, setInputs, setLineageTracer, setParentPlan, setPigLogger, setReporter, setRequestedParallelism, setResultType |
POLocalRearrangeForIllustrate
public POLocalRearrangeForIllustrate(OperatorKey k)
POLocalRearrangeForIllustrate
public POLocalRearrangeForIllustrate(OperatorKey k,
int rp)
POLocalRearrangeForIllustrate
public POLocalRearrangeForIllustrate(OperatorKey k,
List<PhysicalOperator> inp)
POLocalRearrangeForIllustrate
public POLocalRearrangeForIllustrate(OperatorKey k,
int rp,
List<PhysicalOperator> inp)
visit
public void visit(PhyPlanVisitor v)
throws VisitorException
- Description copied from class:
Operator
- Visit this node with the provided visitor. This should only be called by
the visitor class itself, never directly.
- Overrides:
visit
in class POLocalRearrange
- Parameters:
v
- Visitor to visit with.
- Throws:
VisitorException
- if the visitor has a problem.
name
public String name()
- Overrides:
name
in class POLocalRearrange
constructLROutput
protected Tuple constructLROutput(List<Result> resLst,
List<Result> secondaryResLst,
Tuple value)
throws ExecException
- Overrides:
constructLROutput
in class POLocalRearrange
- Throws:
ExecException
clone
public POLocalRearrangeForIllustrate clone()
throws CloneNotSupportedException
- Make a deep copy of this operator.
- Overrides:
clone
in class POLocalRearrange
- Throws:
CloneNotSupportedException
- See Also:
Do not use the clone method directly. Operators are cloned when logical plans
are cloned using {@link LogicalPlanCloner}
Copyright © ${year} The Apache Software Foundation