|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pig.impl.plan.Operator<PhyPlanVisitor>
org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator
org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.ExpressionOperator
org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.POBinCond
public class POBinCond
Field Summary |
---|
Fields inherited from class org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator |
---|
alias, dummyBag, dummyBool, dummyDBA, dummyDouble, dummyFloat, dummyInt, dummyLong, dummyMap, dummyString, dummyTuple, illustrator, input, inputAttached, inputs, lineageTracer, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, resultType |
Fields inherited from class org.apache.pig.impl.plan.Operator |
---|
mKey |
Constructor Summary | |
---|---|
POBinCond(OperatorKey k)
|
|
POBinCond(OperatorKey k,
int rp)
|
|
POBinCond(OperatorKey k,
int rp,
ExpressionOperator cond,
ExpressionOperator lhs,
ExpressionOperator rhs)
|
Method Summary | |
---|---|
void |
attachInput(Tuple t)
Shorts the input path of this operator by providing the input tuple directly |
POBinCond |
clone()
Make a deep copy of this operator. |
Result |
genericGetNext(Object obj,
byte dataType)
|
List<ExpressionOperator> |
getChildExpressions()
Get child expressions of this expression |
ExpressionOperator |
getCond()
Get condition |
ExpressionOperator |
getLhs()
Get left expression |
Result |
getNext(Boolean b)
|
Result |
getNext(DataBag db)
|
Result |
getNext(DataByteArray ba)
|
Result |
getNext(Double d)
|
Result |
getNext(Float f)
|
Result |
getNext(Integer i)
|
Result |
getNext(Long l)
|
Result |
getNext(Map m)
|
Result |
getNext(String s)
|
Result |
getNext(Tuple t)
|
ExpressionOperator |
getRhs()
Get right expression |
Tuple |
illustratorMarkup(Object in,
Object out,
int eqClassIndex)
input tuple mark up to be illustrate-able |
String |
name()
|
void |
setCond(ExpressionOperator condOp)
|
void |
setLhs(ExpressionOperator lhs)
|
void |
setRhs(ExpressionOperator rhs)
|
boolean |
supportsMultipleInputs()
Indicates whether this operator supports multiple inputs. |
void |
visit(PhyPlanVisitor v)
Visit this node with the provided visitor. |
Methods inherited from class org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.ExpressionOperator |
---|
accumChild, accumChild, accumChild, accumChild, accumChild, accumChild, accumChild, accumChild, accumChild, accumChild, accumChild, containUDF, setIllustrator, supportsMultipleOutputs |
Methods inherited from class org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator |
---|
cloneHelper, detachInput, getAlias, getAliasString, getDummy, getIllustrator, getInputs, getLogger, getNext, getPigLogger, getRequestedParallelism, getResultType, isAccumStarted, isAccumulative, isBlocking, isInputAttached, processInput, reset, setAccumEnd, setAccumStart, setAccumulative, setAlias, setInputs, setParentPlan, setPigLogger, setReporter, setRequestedParallelism, setResultType |
Methods inherited from class org.apache.pig.impl.plan.Operator |
---|
compareTo, equals, getOperatorKey, getProjectionMap, hashCode, regenerateProjectionMap, rewire, toString, unsetProjectionMap |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public POBinCond(OperatorKey k)
public POBinCond(OperatorKey k, int rp)
public POBinCond(OperatorKey k, int rp, ExpressionOperator cond, ExpressionOperator lhs, ExpressionOperator rhs)
Method Detail |
---|
public Result genericGetNext(Object obj, byte dataType) throws ExecException
ExecException
public Result getNext(Boolean b) throws ExecException
getNext
in class PhysicalOperator
ExecException
public Result getNext(DataBag db) throws ExecException
getNext
in class ExpressionOperator
ExecException
public Result getNext(DataByteArray ba) throws ExecException
getNext
in class PhysicalOperator
ExecException
public Result getNext(Double d) throws ExecException
getNext
in class PhysicalOperator
ExecException
public Result getNext(Float f) throws ExecException
getNext
in class PhysicalOperator
ExecException
public Result getNext(Integer i) throws ExecException
getNext
in class PhysicalOperator
ExecException
public Result getNext(Long l) throws ExecException
getNext
in class PhysicalOperator
ExecException
public Result getNext(Map m) throws ExecException
getNext
in class PhysicalOperator
ExecException
public Result getNext(String s) throws ExecException
getNext
in class PhysicalOperator
ExecException
public Result getNext(Tuple t) throws ExecException
getNext
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
clone
in class ExpressionOperator
CloneNotSupportedException
Do not use the clone method directly. Operators are cloned when logical plans
are cloned using {@link LogicalPlanCloner}
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 illustrator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |