public abstract class UnaryExpressionOperator extends ExpressionOperator
PhysicalOperator.OriginalLocation
alias, illustrator, input, inputAttached, inputs, lineageTracer, mBagFactory, mTupleFactory, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, RESULT_EMPTY, RESULT_EOP, resultType
Constructor and Description |
---|
UnaryExpressionOperator(OperatorKey k) |
UnaryExpressionOperator(OperatorKey k,
int rp) |
Modifier and Type | Method and Description |
---|---|
protected void |
cloneHelper(UnaryExpressionOperator op) |
List<ExpressionOperator> |
getChildExpressions()
Get child expression of this expression
|
ExpressionOperator |
getExpr()
Get the contained expression.
|
void |
setExpr(ExpressionOperator e)
Set the contained expression explicitly.
|
void |
setInputAsExpr(PhysicalPlan plan)
Set the contained expression to the be the input value.
|
boolean |
supportsMultipleInputs()
Indicates whether this operator supports multiple inputs.
|
accumChild, clone, containUDF, getNextDataBag, setIllustrator, supportsMultipleOutputs, toString, visit
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, staticDataCleanup
compareTo, equals, getOperatorKey, getProjectionMap, hashCode, name, regenerateProjectionMap, rewire, unsetProjectionMap
finalize, getClass, notify, notifyAll, wait, wait, wait
illustratorMarkup
public UnaryExpressionOperator(OperatorKey k, int rp)
public UnaryExpressionOperator(OperatorKey k)
public boolean supportsMultipleInputs()
Operator
supportsMultipleInputs
in class Operator<PhyPlanVisitor>
public void setInputAsExpr(PhysicalPlan plan)
public void setExpr(ExpressionOperator e)
e
- Expression to contain.public ExpressionOperator getExpr()
protected void cloneHelper(UnaryExpressionOperator op)
public List<ExpressionOperator> getChildExpressions()
getChildExpressions
in class ExpressionOperator
Copyright © 2007-2017 The Apache Software Foundation