public class PODistinct extends PhysicalOperator implements Cloneable
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 |
|---|
PODistinct(OperatorKey k) |
PODistinct(OperatorKey k,
int rp) |
PODistinct(OperatorKey k,
int rp,
List<PhysicalOperator> inp) |
PODistinct(OperatorKey k,
List<PhysicalOperator> inp) |
| Modifier and Type | Method and Description |
|---|---|
PODistinct |
clone()
Make a copy of this operator.
|
String |
getCustomPartitioner() |
Result |
getNextTuple() |
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.
|
String |
name() |
void |
reset()
Reset internal state in an operator.
|
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, cloneHelper, clonePlans, copyAliasFrom, detachInput, getAlias, getAliasString, getIllustrator, getInputs, getLogger, getNext, getNextBigDecimal, getNextBigInteger, getNextBoolean, getNextDataBag, getNextDataByteArray, getNextDateTime, getNextDouble, getNextFloat, getNextInteger, getNextLong, getNextMap, getNextString, getOriginalLocations, getParentPlan, getPigLogger, getReporter, getRequestedParallelism, getResultType, isAccumStarted, isAccumulative, isEndOfAllInput, isInputAttached, processInput, setAccumEnd, setAccumStart, setAccumulative, setIllustrator, setInputs, setParentPlan, setPigLogger, setReporter, setRequestedParallelism, setResultType, staticDataCleanupcompareTo, equals, getOperatorKey, getProjectionMap, hashCode, regenerateProjectionMap, rewire, toString, unsetProjectionMapprotected String customPartitioner
public PODistinct(OperatorKey k, int rp, List<PhysicalOperator> inp)
public PODistinct(OperatorKey k, int rp)
public PODistinct(OperatorKey k, List<PhysicalOperator> inp)
public PODistinct(OperatorKey k)
public String getCustomPartitioner()
public void setCustomPartitioner(String customPartitioner)
public boolean isBlocking()
PhysicalOperatorisBlocking in class PhysicalOperatorpublic Result getNextTuple() throws ExecException
getNextTuple in class PhysicalOperatorExecExceptionpublic String name()
name in class Operator<PhyPlanVisitor>public boolean supportsMultipleInputs()
OperatorsupportsMultipleInputs in class Operator<PhyPlanVisitor>public boolean supportsMultipleOutputs()
OperatorsupportsMultipleOutputs in class Operator<PhyPlanVisitor>public void reset()
PhysicalOperatorreset in class PhysicalOperatorpublic void visit(PhyPlanVisitor v) throws VisitorException
Operatorvisit in class PhysicalOperatorv - Visitor to visit with.VisitorException - if the visitor has a problem.public PODistinct clone() throws CloneNotSupportedException
PhysicalOperatorpublic Tuple illustratorMarkup(Object in, Object out, int eqClassIndex)
IllustrableillustratorMarkup in interface Illustrablein - input tupleout - output tuple before wrapped in ExampleTupleeqClassIndex - index into equivalence classes in illustratorCopyright © 2007-2017 The Apache Software Foundation