Package com.mckoi.database
Class QueryPlan.CompositeNode
java.lang.Object
com.mckoi.database.QueryPlan.BranchQueryPlanNode
com.mckoi.database.QueryPlan.CompositeNode
- All Implemented Interfaces:
QueryPlanNode
,Serializable
,Cloneable
- Enclosing class:
QueryPlan
A branch node for performing a composite function on two child nodes.
This branch is used for general UNION, EXCEPT, INTERSECT composites. The
left and right branch results must have the same number of columns and
column types.
- See Also:
-
Field Summary
Fields inherited from class com.mckoi.database.QueryPlan.BranchQueryPlanNode
left, right
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeNode
(QueryPlanNode left, QueryPlanNode right, int composite_op, boolean all_op) -
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, titleString
-
Constructor Details
-
CompositeNode
-
-
Method Details
-
evaluate
Description copied from interface:QueryPlanNode
Evaluates the node and returns the result as a Table. The VariableResolver resolves any outer variables
-