QueryPlanNode, java.io.Serializable, java.lang.Cloneablepublic static class QueryPlan.JoinNode extends QueryPlan.BranchQueryPlanNode
NOTE: The cost of a LeftJoin is higher if the right child result is greater than the left child result. The plan should be arranged so smaller results are on the left.
left, right| Constructor | Description |
|---|---|
JoinNode(QueryPlanNode left,
QueryPlanNode right,
Variable left_var,
Operator join_op,
Expression right_expression) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
clone() |
Deep clone.
|
java.util.ArrayList |
discoverCorrelatedVariables(int level,
java.util.ArrayList list) |
Default implementation that discovers correlated variables for the
given offset level.
|
java.util.ArrayList |
discoverTableNames(java.util.ArrayList list) |
Default implementation delegates responsibility to children.
|
Table |
evaluate(QueryContext context) |
Evaluates the node and returns the result as a Table.
|
java.lang.String |
titleString() |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdebugString, left, rightpublic JoinNode(QueryPlanNode left, QueryPlanNode right, Variable left_var, Operator join_op, Expression right_expression)
public Table evaluate(QueryContext context)
QueryPlanNodepublic java.util.ArrayList discoverTableNames(java.util.ArrayList list)
QueryPlan.BranchQueryPlanNodediscoverTableNames in interface QueryPlanNodediscoverTableNames in class QueryPlan.BranchQueryPlanNodepublic java.util.ArrayList discoverCorrelatedVariables(int level,
java.util.ArrayList list)
QueryPlan.BranchQueryPlanNodediscoverCorrelatedVariables in interface QueryPlanNodediscoverCorrelatedVariables in class QueryPlan.BranchQueryPlanNodepublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
QueryPlan.BranchQueryPlanNodeclone in interface QueryPlanNodeclone in class QueryPlan.BranchQueryPlanNodejava.lang.CloneNotSupportedExceptionpublic java.lang.String titleString()
titleString in class QueryPlan.BranchQueryPlanNodeCopyright © 2018. All rights reserved.