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, mBagFactory, mTupleFactory, 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 |
|---|---|
protected void |
cloneHelper(UnaryComparisonOperator op) |
byte |
getOperandType()
Determine the type of the operand(s) of this comparator.
|
Tuple |
illustratorMarkup(Object in,
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, supportsMultipleInputsaccumChild, clone, containUDF, getNextDataBag, setIllustrator, supportsMultipleOutputs, toString, visitaddOriginalLocation, addOriginalLocation, attachInput, cloneHelper, clonePlans, copyAliasFrom, detachInput, getAlias, getAliasString, getIllustrator, getInputs, getLogger, getNext, getNextBigDecimal, getNextBigInteger, getNextBoolean, getNextDataByteArray, getNextDateTime, getNextDouble, getNextFloat, getNextInteger, getNextLong, 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, name, regenerateProjectionMap, rewire, unsetProjectionMapfinalize, getClass, notify, notifyAll, wait, wait, waitgetNextBoolean, getNextDataBag, getNextDataByteArray, getNextDateTime, getNextDouble, getNextFloat, getNextInteger, getNextLong, getNextMap, getNextString, getNextTuplepublic UnaryComparisonOperator(OperatorKey k)
public UnaryComparisonOperator(OperatorKey k, int rp)
public byte getOperandType()
ComparisonOperatorgetOperandType in interface ComparisonOperatorpublic void setOperandType(byte operandType)
ComparisonOperatorsetOperandType in interface ComparisonOperatoroperandType - Type of the operand(s), as a byte (using DataType
types).public Tuple illustratorMarkup(Object in, Object out, int eqClassIndex)
IllustrableillustratorMarkup in interface Illustrablein - input tupleout - output tuple before wrapped in ExampleTupleeqClassIndex - index into equivalence classes in illustratorprotected void cloneHelper(UnaryComparisonOperator op)
Copyright © 2007-2017 The Apache Software Foundation