public abstract class UnaryComparisonOperator extends UnaryExpressionOperator implements ComparisonOperator
PhysicalOperator.OriginalLocation
Modifier and Type | Field and Description |
---|---|
protected byte |
operandType |
alias, illustrator, input, inputAttached, inputs, lineageTracer, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, RESULT_EMPTY, RESULT_EOP, resultType
Constructor and Description |
---|
UnaryComparisonOperator(OperatorKey k) |
UnaryComparisonOperator(OperatorKey k,
int rp) |
Modifier and Type | Method and Description |
---|---|
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, getExpr, setExpr, setInputAsExpr, 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 UnaryComparisonOperator(OperatorKey k)
public UnaryComparisonOperator(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).public Tuple illustratorMarkup(java.lang.Object in, java.lang.Object out, int eqClassIndex)
Illustrable
illustratorMarkup
in interface Illustrable
in
- input tupleout
- output tuple before wrapped in ExampleTupleeqClassIndex
- index into equivalence classes in illustratorCopyright © 2007-2012 The Apache Software Foundation