public class POUserComparisonFunc extends ExpressionOperator
PhysicalOperator.OriginalLocation
alias, illustrator, input, inputAttached, inputs, lineageTracer, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, RESULT_EMPTY, RESULT_EOP, resultType
Constructor and Description |
---|
POUserComparisonFunc(OperatorKey k,
int rp,
java.util.List inp,
FuncSpec funcSpec) |
POUserComparisonFunc(OperatorKey k,
int rp,
java.util.List inp,
FuncSpec funcSpec,
ComparisonFunc func) |
Modifier and Type | Method and Description |
---|---|
void |
attachInput(Tuple t1,
Tuple t2) |
POUserComparisonFunc |
clone()
Make a deep copy of this operator.
|
java.util.List<ExpressionOperator> |
getChildExpressions()
Get child expressions of this expression
|
ComparisonFunc |
getComparator() |
FuncSpec |
getFuncSpec() |
Result |
getNextBigDecimal() |
Result |
getNextBigInteger() |
Result |
getNextBoolean() |
Result |
getNextDataBag() |
Result |
getNextDataByteArray() |
Result |
getNextDateTime() |
Result |
getNextDouble() |
Result |
getNextFloat() |
Result |
getNextInteger() |
Result |
getNextLong() |
Result |
getNextMap() |
Result |
getNextString() |
Result |
getNextTuple() |
Tuple |
illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex)
input tuple mark up to be illustrate-able
|
java.lang.String |
name() |
boolean |
supportsMultipleInputs()
Indicates whether this operator supports multiple inputs.
|
void |
visit(PhyPlanVisitor v)
Visit this node with the provided visitor.
|
accumChild, containUDF, setIllustrator, supportsMultipleOutputs, toString
addOriginalLocation, addOriginalLocation, attachInput, cloneHelper, copyAliasFrom, detachInput, getAlias, getAliasString, getIllustrator, getInputs, getLogger, getNext, 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, regenerateProjectionMap, rewire, unsetProjectionMap
public POUserComparisonFunc(OperatorKey k, int rp, java.util.List inp, FuncSpec funcSpec, ComparisonFunc func)
public POUserComparisonFunc(OperatorKey k, int rp, java.util.List inp, FuncSpec funcSpec)
public ComparisonFunc getComparator()
public Result getNextInteger() throws ExecException
getNextInteger
in class PhysicalOperator
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 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 java.lang.String name()
name
in class Operator<PhyPlanVisitor>
public boolean supportsMultipleInputs()
Operator
supportsMultipleInputs
in class Operator<PhyPlanVisitor>
public FuncSpec getFuncSpec()
public POUserComparisonFunc clone() throws java.lang.CloneNotSupportedException
ExpressionOperator
clone
in class ExpressionOperator
java.lang.CloneNotSupportedException
Do not use the clone method directly. Operators are cloned when logical plans
are cloned using {@link LogicalPlanCloner}
public java.util.List<ExpressionOperator> getChildExpressions()
getChildExpressions
in class ExpressionOperator
public Tuple illustratorMarkup(java.lang.Object in, java.lang.Object out, int eqClassIndex)
Illustrable
in
- input tupleout
- output tuple before wrapped in ExampleTupleeqClassIndex
- index into equivalence classes in illustratorCopyright © 2007-2012 The Apache Software Foundation