public class Mod extends BinaryExpressionOperator
PhysicalOperator.OriginalLocationlhs, rhsalias, illustrator, input, inputAttached, inputs, lineageTracer, mBagFactory, mTupleFactory, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, RESULT_EMPTY, RESULT_EOP, resultType| Constructor and Description |
|---|
Mod(OperatorKey k) |
Mod(OperatorKey k,
int rp) |
| Modifier and Type | Method and Description |
|---|---|
Mod |
clone()
Make a deep copy of this operator.
|
protected Result |
genericGetNext(byte dataType) |
Result |
getNextBigInteger() |
Result |
getNextInteger() |
Result |
getNextLong() |
protected Number |
mod(Number a,
Number b,
byte dataType) |
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, clonePlans, copyAliasFrom, detachInput, getAlias, getAliasString, getIllustrator, getInputs, getLogger, getNext, getNextBigDecimal, getNextBoolean, getNextDataByteArray, getNextDateTime, getNextDouble, getNextFloat, 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, staticDataCleanupcompareTo, equals, getOperatorKey, getProjectionMap, hashCode, regenerateProjectionMap, rewire, unsetProjectionMappublic Mod(OperatorKey k)
public Mod(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 String name()
name in class Operator<PhyPlanVisitor>protected Number mod(Number a, Number b, byte dataType) throws ExecException
ExecExceptionprotected Result genericGetNext(byte dataType) throws ExecException
ExecExceptionpublic Result getNextInteger() throws ExecException
getNextInteger in class PhysicalOperatorExecExceptionpublic Result getNextLong() throws ExecException
getNextLong in class PhysicalOperatorExecExceptionpublic Result getNextBigInteger() throws ExecException
getNextBigInteger in class PhysicalOperatorExecExceptionpublic Mod clone() throws CloneNotSupportedException
ExpressionOperatorCopyright © 2007-2017 The Apache Software Foundation