org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators
Class UnaryExpressionOperator
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.expressionOperators.ExpressionOperator
org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.UnaryExpressionOperator
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<Operator>, Illustrable
- Direct Known Subclasses:
- PONegative, UnaryComparisonOperator
public abstract class UnaryExpressionOperator
- extends ExpressionOperator
- See Also:
- Serialized Form
Fields inherited from class org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator |
alias, dummyBag, dummyBool, dummyDateTime, dummyDBA, dummyDouble, dummyFloat, dummyInt, dummyLong, dummyMap, dummyString, dummyTuple, illustrator, 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.expressionOperators.ExpressionOperator |
accumChild, accumChild, accumChild, accumChild, accumChild, accumChild, accumChild, accumChild, accumChild, accumChild, accumChild, accumChild, clone, containUDF, getNext, setIllustrator, supportsMultipleOutputs, visit |
Methods inherited from class org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator |
addOriginalLocation, addOriginalLocation, attachInput, cloneHelper, detachInput, getAlias, getAliasString, getDummy, getIllustrator, getInputs, getLogger, getNext, getNext, getNext, getNext, getNext, getNext, getNext, getNext, getNext, getNext, getNext, getOriginalLocations, getPigLogger, getRequestedParallelism, getResultType, isAccumStarted, isAccumulative, isBlocking, isInputAttached, processInput, reset, setAccumEnd, setAccumStart, setAccumulative, setInputs, setParentPlan, setPigLogger, setReporter, setRequestedParallelism, setResultType |
UnaryExpressionOperator
public UnaryExpressionOperator(OperatorKey k,
int rp)
UnaryExpressionOperator
public UnaryExpressionOperator(OperatorKey k)
supportsMultipleInputs
public boolean supportsMultipleInputs()
- Description copied from class:
Operator
- Indicates whether this operator supports multiple inputs.
- Specified by:
supportsMultipleInputs
in class Operator<PhyPlanVisitor>
- Returns:
- true if it does, otherwise false.
setInputAsExpr
public void setInputAsExpr(PhysicalPlan plan)
- Set the contained expression to the be the input value.
setExpr
public void setExpr(ExpressionOperator e)
- Set the contained expression explicitly. This is mostly for testing.
- Parameters:
e
- Expression to contain.
getExpr
public ExpressionOperator getExpr()
- Get the contained expression.
- Returns:
- contained expression.
cloneHelper
protected void cloneHelper(UnaryExpressionOperator op)
getChildExpressions
public List<ExpressionOperator> getChildExpressions()
- Get child expression of this expression
- Specified by:
getChildExpressions
in class ExpressionOperator
Copyright © 2007-2012 The Apache Software Foundation