org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators
Class BinaryExpressionOperator
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.BinaryExpressionOperator
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<Operator>
- Direct Known Subclasses:
- Add, BinaryComparisonOperator, Divide, Mod, Multiply, Subtract
public abstract class BinaryExpressionOperator
- extends ExpressionOperator
A base class for all Binary expression operators.
Supports the lhs and rhs operators which are used
to fetch the inputs and apply the appropriate operation
with the appropriate type.
- See Also:
- Serialized Form
Fields inherited from class org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.ExpressionOperator |
log |
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.expressionOperators.ExpressionOperator |
accumChild, accumChild, accumChild, accumChild, accumChild, accumChild, accumChild, accumChild, accumChild, accumChild, clone, containUDF, getNext, supportsMultipleOutputs, visit |
Methods inherited from class org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator |
attachInput, 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 |
lhs
protected ExpressionOperator lhs
rhs
protected ExpressionOperator rhs
BinaryExpressionOperator
public BinaryExpressionOperator(OperatorKey k)
BinaryExpressionOperator
public BinaryExpressionOperator(OperatorKey k,
int rp)
getLhs
public ExpressionOperator getLhs()
getChildExpressions
public List<ExpressionOperator> getChildExpressions()
- Get the child expressions of this expression
- Specified by:
getChildExpressions
in class ExpressionOperator
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.
setLhs
public void setLhs(ExpressionOperator lhs)
getRhs
public ExpressionOperator getRhs()
setRhs
public void setRhs(ExpressionOperator rhs)
cloneHelper
protected void cloneHelper(BinaryExpressionOperator op)
Copyright © ${year} The Apache Software Foundation