public class POBinCond extends ExpressionOperator
PhysicalOperator.OriginalLocation
alias, illustrator, input, inputAttached, inputs, lineageTracer, mBagFactory, mTupleFactory, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, RESULT_EMPTY, RESULT_EOP, resultType
Constructor and Description |
---|
POBinCond(OperatorKey k) |
POBinCond(OperatorKey k,
int rp) |
POBinCond(OperatorKey k,
int rp,
ExpressionOperator cond,
ExpressionOperator lhs,
ExpressionOperator rhs) |
accumChild, containUDF, setIllustrator, supportsMultipleOutputs, toString
addOriginalLocation, addOriginalLocation, cloneHelper, clonePlans, copyAliasFrom, detachInput, getAlias, getAliasString, getIllustrator, getInputs, getLogger, getNext, getOriginalLocations, getParentPlan, getPigLogger, getReporter, getRequestedParallelism, getResultType, isAccumStarted, isAccumulative, isBlocking, isEndOfAllInput, isInputAttached, processInput, reset, setAccumEnd, setAccumStart, setAccumulative, setInputs, setParentPlan, setPigLogger, setReporter, setRequestedParallelism, setResultType, staticDataCleanup
compareTo, equals, getOperatorKey, getProjectionMap, hashCode, regenerateProjectionMap, rewire, unsetProjectionMap
public POBinCond(OperatorKey k)
public POBinCond(OperatorKey k, int rp)
public POBinCond(OperatorKey k, int rp, ExpressionOperator cond, ExpressionOperator lhs, ExpressionOperator rhs)
public Result genericGetNext(byte dataType) throws ExecException
ExecException
public Result getNextBoolean() throws ExecException
getNextBoolean
in class PhysicalOperator
ExecException
public Result getNextDataBag() throws ExecException
getNextDataBag
in class ExpressionOperator
ExecException
public Result getNextDataByteArray() throws ExecException
getNextDataByteArray
in class PhysicalOperator
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 getNextDateTime() throws ExecException
getNextDateTime
in class PhysicalOperator
ExecException
public Result getNextMap() throws ExecException
getNextMap
in class PhysicalOperator
ExecException
public Result getNextString() throws ExecException
getNextString
in class PhysicalOperator
ExecException
public Result getNextTuple() throws ExecException
getNextTuple
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 void visit(PhyPlanVisitor v) throws VisitorException
Operator
visit
in class ExpressionOperator
v
- Visitor to visit with.VisitorException
- if the visitor has a problem.public String name()
name
in class Operator<PhyPlanVisitor>
public void attachInput(Tuple t)
PhysicalOperator
attachInput
in class PhysicalOperator
t
- -
The tuple that should be used as inputpublic void setCond(ExpressionOperator condOp)
public void setRhs(ExpressionOperator rhs)
public void setLhs(ExpressionOperator lhs)
public ExpressionOperator getCond()
public ExpressionOperator getRhs()
public ExpressionOperator getLhs()
public boolean supportsMultipleInputs()
Operator
supportsMultipleInputs
in class Operator<PhyPlanVisitor>
public POBinCond clone() throws CloneNotSupportedException
ExpressionOperator
public List<ExpressionOperator> getChildExpressions()
getChildExpressions
in class ExpressionOperator
public Tuple illustratorMarkup(Object in, Object out, int eqClassIndex)
Illustrable
in
- input tupleout
- output tuple before wrapped in ExampleTupleeqClassIndex
- index into equivalence classes in illustratorCopyright © 2007-2017 The Apache Software Foundation