public class Add extends BinaryExpressionOperator
PhysicalOperator.OriginalLocation
lhs, rhs
alias, illustrator, input, inputAttached, inputs, lineageTracer, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, RESULT_EMPTY, RESULT_EOP, resultType
Constructor and Description |
---|
Add(OperatorKey k) |
Add(OperatorKey k,
int rp) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Number |
add(java.lang.Number a,
java.lang.Number b,
byte dataType) |
Add |
clone()
Make a deep copy of this operator.
|
protected Result |
genericGetNext(byte dataType) |
Result |
getNextBigDecimal() |
Result |
getNextBigInteger() |
Result |
getNextDouble() |
Result |
getNextFloat() |
Result |
getNextInteger() |
Result |
getNextLong() |
java.lang.String |
name() |
void |
visit(PhyPlanVisitor v)
Visit this node with the provided visitor.
|
cloneHelper, getChildExpressions, getLhs, getRhs, illustratorMarkup, setLhs, setRhs, supportsMultipleInputs
accumChild, containUDF, getNextDataBag, setIllustrator, supportsMultipleOutputs, toString
addOriginalLocation, addOriginalLocation, attachInput, cloneHelper, copyAliasFrom, detachInput, getAlias, getAliasString, getIllustrator, getInputs, getLogger, getNext, getNextBoolean, getNextDataByteArray, getNextDateTime, getNextMap, getNextString, getNextTuple, getOriginalLocations, getPigLogger, getReporter, getRequestedParallelism, getResultType, isAccumStarted, isAccumulative, isBlocking, isInputAttached, processInput, reset, setAccumEnd, setAccumStart, setAccumulative, setInputs, setParentPlan, setPigLogger, setReporter, setRequestedParallelism, setResultType, staticDataCleanup
compareTo, equals, getOperatorKey, getProjectionMap, hashCode, regenerateProjectionMap, rewire, unsetProjectionMap
public Add(OperatorKey k)
public Add(OperatorKey k, int rp)
public void visit(PhyPlanVisitor v) throws VisitorException
Operator
visit
in class ExpressionOperator
v
- Visitor to visit with.VisitorException
- if the visitor has a problem.public java.lang.String name()
name
in class Operator<PhyPlanVisitor>
protected java.lang.Number add(java.lang.Number a, java.lang.Number b, byte dataType) throws ExecException
ExecException
protected Result genericGetNext(byte dataType) throws ExecException
ExecException
public Result getNextDouble() throws ExecException
getNextDouble
in class PhysicalOperator
ExecException
public Result getNextFloat() throws ExecException
getNextFloat
in class PhysicalOperator
ExecException
public Result getNextInteger() throws ExecException
getNextInteger
in class PhysicalOperator
ExecException
public Result getNextLong() throws ExecException
getNextLong
in class PhysicalOperator
ExecException
public Result getNextBigInteger() throws ExecException
getNextBigInteger
in class PhysicalOperator
ExecException
public Result getNextBigDecimal() throws ExecException
getNextBigDecimal
in class PhysicalOperator
ExecException
public Add clone() throws java.lang.CloneNotSupportedException
ExpressionOperator
clone
in class ExpressionOperator
java.lang.CloneNotSupportedException
Do not use the clone method directly. Operators are cloned when logical plans
are cloned using {@link LogicalPlanCloner}
Copyright © 2007-2012 The Apache Software Foundation