Package com.mckoi.database
Class QueryPlan.LeftOuterJoinNode
java.lang.Object
com.mckoi.database.QueryPlan.SingleQueryPlanNode
com.mckoi.database.QueryPlan.LeftOuterJoinNode
- All Implemented Interfaces:
QueryPlanNode
,Serializable
,Cloneable
- Enclosing class:
QueryPlan
A branch node for a left outer join. Using this node is a little non-
intuitive. This node will only work when used in conjuction with
MarkerNode.
To use - first the complete left table in the join must be marked with a name. Then the ON expression is evaluated to a single plan node. Then this plan node must be added to result in a left outer join. A tree for a left outer join may look as follows;
LeftOuterJoinNode | Join a = b / \ Marker GetTable T2 | GetTable T1
- See Also:
-
Field Summary
Fields inherited from class com.mckoi.database.QueryPlan.SingleQueryPlanNode
child
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate
(QueryContext context) Evaluates the node and returns the result as a Table.Methods inherited from class com.mckoi.database.QueryPlan.SingleQueryPlanNode
child, clone, debugString, discoverCorrelatedVariables, discoverTableNames
-
Constructor Details
-
LeftOuterJoinNode
-
-
Method Details
-
evaluate
Description copied from interface:QueryPlanNode
Evaluates the node and returns the result as a Table. The VariableResolver resolves any outer variables -
titleString
- Overrides:
titleString
in classQueryPlan.SingleQueryPlanNode
-