public class BinCondExpression extends LogicalExpression
fieldSchema, uidOnlyFieldSchema| Constructor and Description | 
|---|
| BinCondExpression(OperatorPlan plan,
                 LogicalExpression condition,
                 LogicalExpression lhs,
                 LogicalExpression rhs)Will add this operator to the plan and connect it to the
 left and right hand side operators and the condition operator | 
| Modifier and Type | Method and Description | 
|---|---|
| void | accept(PlanVisitor v)Accept a visitor at this node in the graph. | 
| LogicalExpression | deepCopy(LogicalExpressionPlan lgExpPlan)Create the deep copy of this expression and add that into the passed
 LogicalExpressionPlan Return the copy of this expression with updated
 logical expression plan. | 
| LogicalExpression | getCondition()Returns the operator which handles this condition | 
| LogicalSchema.LogicalFieldSchema | getFieldSchema()Get the field schema for the output of this expression operator. | 
| LogicalExpression | getLhs()Get the left hand side of this expression. | 
| LogicalExpression | getRhs()Get the right hand side of this expression. | 
| boolean | isEqual(Operator other)This is like a shallow equals comparison. | 
getNextUid, getType, hasFieldSchema, neverUseForRealSetFieldSchema, resetFieldSchema, resetNextUid, resetUid, toStringannotate, getAnnotation, getLocation, getName, getPlan, removeAnnotation, setLocation, setPlanpublic BinCondExpression(OperatorPlan plan, LogicalExpression condition, LogicalExpression lhs, LogicalExpression rhs)
plan - plan this operator is part oflhs - expression on its left hand siderhs - expression on its right hand sidepublic LogicalExpression getCondition() throws FrontendException
FrontendExceptionpublic LogicalExpression getLhs() throws FrontendException
FrontendExceptionpublic LogicalExpression getRhs() throws FrontendException
FrontendExceptionpublic void accept(PlanVisitor v) throws FrontendException
Operatoraccept in class Operatorv - Visitor to accept.FrontendExceptionpublic boolean isEqual(Operator other) throws FrontendException
OperatorisEqual in class OperatorFrontendExceptionpublic LogicalSchema.LogicalFieldSchema getFieldSchema() throws FrontendException
LogicalExpressiongetFieldSchema in class LogicalExpressionFrontendExceptionpublic LogicalExpression deepCopy(LogicalExpressionPlan lgExpPlan) throws FrontendException
LogicalExpressiondeepCopy in class LogicalExpressionlgExpPlan - LogicalExpressionPlan in which this expression will be added.FrontendExceptionCopyright © 2007-2012 The Apache Software Foundation