public abstract class ExpressionOperator extends PhysicalOperator
PhysicalOperator.OriginalLocationalias, illustrator, input, inputAttached, inputs, lineageTracer, mBagFactory, mTupleFactory, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, RESULT_EMPTY, RESULT_EOP, resultType| Constructor and Description |
|---|
ExpressionOperator(OperatorKey k) |
ExpressionOperator(OperatorKey k,
int rp) |
| Modifier and Type | Method and Description |
|---|---|
protected Result |
accumChild(List<ExpressionOperator> child,
byte dataType)
Drive all the UDFs in accumulative mode
|
ExpressionOperator |
clone()
Make a deep copy of this operator.
|
boolean |
containUDF()
check whether this expression contains any UDF
this is called if reducer is run as accumulative mode
in this case, all UDFs must be called
|
protected abstract List<ExpressionOperator> |
getChildExpressions()
Get the sub-expressions of this expression.
|
Result |
getNextDataBag() |
void |
setIllustrator(Illustrator illustrator) |
boolean |
supportsMultipleOutputs()
Indicates whether this operator supports multiple outputs.
|
String |
toString() |
abstract 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, getNextDataByteArray, getNextDateTime, getNextDouble, getNextFloat, getNextInteger, getNextLong, getNextMap, getNextString, getNextTuple, getOriginalLocations, getParentPlan, getPigLogger, getReporter, getRequestedParallelism, getResultType, isAccumStarted, isAccumulative, isBlocking, isEndOfAllInput, isInputAttached, processInput, reset, setAccumEnd, setAccumStart, setAccumulative, setInputs, setParentPlan, setPigLogger, setReporter, setRequestedParallelism, setResultType, staticDataCleanupcompareTo, equals, getOperatorKey, getProjectionMap, hashCode, name, regenerateProjectionMap, rewire, supportsMultipleInputs, unsetProjectionMapfinalize, getClass, notify, notifyAll, wait, wait, waitillustratorMarkuppublic ExpressionOperator(OperatorKey k)
public ExpressionOperator(OperatorKey k, int rp)
public void setIllustrator(Illustrator illustrator)
setIllustrator in interface IllustrablesetIllustrator in class PhysicalOperatorpublic boolean supportsMultipleOutputs()
OperatorsupportsMultipleOutputs in class Operator<PhyPlanVisitor>public Result getNextDataBag() throws ExecException
getNextDataBag in class PhysicalOperatorExecExceptionpublic abstract void visit(PhyPlanVisitor v) throws VisitorException
Operatorvisit in class PhysicalOperatorv - Visitor to visit with.VisitorException - if the visitor has a problem.public ExpressionOperator clone() throws CloneNotSupportedException
protected abstract List<ExpressionOperator> getChildExpressions()
public boolean containUDF()
protected Result accumChild(List<ExpressionOperator> child, byte dataType) throws ExecException
ExecExceptionpublic String toString()
toString in class Operator<PhyPlanVisitor>Copyright © 2007-2017 The Apache Software Foundation