public class Multiply extends BinaryExpressionOperator
PhysicalOperator.OriginalLocationlhs, rhsalias, illustrator, input, inputAttached, inputs, lineageTracer, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, RESULT_EMPTY, RESULT_EOP, resultType| Constructor and Description |
|---|
Multiply(OperatorKey k) |
Multiply(OperatorKey k,
int rp) |
| Modifier and Type | Method and Description |
|---|---|
Multiply |
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() |
protected java.lang.Number |
multiply(java.lang.Number a,
java.lang.Number b,
byte dataType) |
java.lang.String |
name() |
void |
visit(PhyPlanVisitor v)
Visit this node with the provided visitor.
|
cloneHelper, getChildExpressions, getLhs, getRhs, illustratorMarkup, setLhs, setRhs, supportsMultipleInputsaccumChild, containUDF, getNextDataBag, setIllustrator, supportsMultipleOutputs, toStringaddOriginalLocation, 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, staticDataCleanupcompareTo, equals, getOperatorKey, getProjectionMap, hashCode, regenerateProjectionMap, rewire, unsetProjectionMappublic Multiply(OperatorKey k)
public Multiply(OperatorKey k, int rp)
public void visit(PhyPlanVisitor v) throws VisitorException
Operatorvisit in class ExpressionOperatorv - 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 multiply(java.lang.Number a,
java.lang.Number b,
byte dataType)
throws ExecException
ExecExceptionprotected Result genericGetNext(byte dataType) throws ExecException
ExecExceptionpublic Result getNextDouble() throws ExecException
getNextDouble in class PhysicalOperatorExecExceptionpublic Result getNextFloat() throws ExecException
getNextFloat in class PhysicalOperatorExecExceptionpublic Result getNextInteger() throws ExecException
getNextInteger in class PhysicalOperatorExecExceptionpublic Result getNextLong() throws ExecException
getNextLong in class PhysicalOperatorExecExceptionpublic Result getNextBigInteger() throws ExecException
getNextBigInteger in class PhysicalOperatorExecExceptionpublic Result getNextBigDecimal() throws ExecException
getNextBigDecimal in class PhysicalOperatorExecExceptionpublic Multiply clone() throws java.lang.CloneNotSupportedException
ExpressionOperatorclone in class ExpressionOperatorjava.lang.CloneNotSupportedExceptionDo not use the clone method directly. Operators are cloned when logical plans
are cloned using {@link LogicalPlanCloner}Copyright © 2007-2012 The Apache Software Foundation