Package com.mckoi.database
Class QueryPlan.LogicalUnionNode
java.lang.Object
com.mckoi.database.QueryPlan.BranchQueryPlanNode
com.mckoi.database.QueryPlan.LogicalUnionNode
- All Implemented Interfaces:
QueryPlanNode
,Serializable
,Cloneable
- Enclosing class:
- QueryPlan
A branch node for a logical union of two tables of identical types. This
branch can only work if the left and right children have exactly the same
ancestor tables. If the ancestor tables are different it will fail. This
node is used for logical OR.
This union does not include duplicated rows.
- See Also:
-
Field Summary
Fields inherited from class com.mckoi.database.QueryPlan.BranchQueryPlanNode
left, right
-
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.BranchQueryPlanNode
clone, debugString, discoverCorrelatedVariables, discoverTableNames, left, right
-
Constructor Details
-
LogicalUnionNode
-
-
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.BranchQueryPlanNode
-