public abstract class BinaryComparisonOperator extends BinaryExpressionOperator implements ComparisonOperator
PhysicalOperator.OriginalLocation
Modifier and Type | Field and Description |
---|---|
protected byte |
operandType |
lhs, rhs
alias, illustrator, input, inputAttached, inputs, lineageTracer, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, RESULT_EMPTY, RESULT_EOP, resultType
Constructor and Description |
---|
BinaryComparisonOperator(OperatorKey k) |
BinaryComparisonOperator(OperatorKey k,
int rp) |
Modifier and Type | Method and Description |
---|---|
protected void |
cloneHelper(BinaryComparisonOperator op) |
byte |
getOperandType()
Determine the type of the operand(s) of this comparator.
|
Tuple |
illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex)
input tuple mark up to be illustrate-able
|
void |
setOperandType(byte operandType)
Set the type of the operand(s) of this comparator.
|
cloneHelper, getChildExpressions, getLhs, getRhs, setLhs, setRhs, supportsMultipleInputs
accumChild, clone, containUDF, getNextDataBag, setIllustrator, supportsMultipleOutputs, toString, visit
addOriginalLocation, addOriginalLocation, attachInput, cloneHelper, copyAliasFrom, detachInput, getAlias, getAliasString, getIllustrator, getInputs, getLogger, getNext, getNextBigDecimal, getNextBigInteger, getNextBoolean, getNextDataByteArray, getNextDateTime, getNextDouble, getNextFloat, getNextInteger, getNextLong, 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, name, regenerateProjectionMap, rewire, unsetProjectionMap
finalize, getClass, notify, notifyAll, wait, wait, wait
getNextBoolean, getNextDataBag, getNextDataByteArray, getNextDateTime, getNextDouble, getNextFloat, getNextInteger, getNextLong, getNextMap, getNextString, getNextTuple
public BinaryComparisonOperator(OperatorKey k)
public BinaryComparisonOperator(OperatorKey k, int rp)
public byte getOperandType()
ComparisonOperator
getOperandType
in interface ComparisonOperator
public void setOperandType(byte operandType)
ComparisonOperator
setOperandType
in interface ComparisonOperator
operandType
- Type of the operand(s), as a byte (using DataType
types).protected void cloneHelper(BinaryComparisonOperator op)
public Tuple illustratorMarkup(java.lang.Object in, java.lang.Object out, int eqClassIndex)
Illustrable
illustratorMarkup
in interface Illustrable
illustratorMarkup
in class BinaryExpressionOperator
in
- input tupleout
- output tuple before wrapped in ExampleTupleeqClassIndex
- index into equivalence classes in illustratorCopyright © 2007-2012 The Apache Software Foundation