java.lang.Cloneable
, java.io.Serializable
QueryPlan.BranchQueryPlanNode
, QueryPlan.CachePointNode
, QueryPlan.CompositeNode
, QueryPlan.ConstantSelectNode
, QueryPlan.CreateFunctionsNode
, QueryPlan.DistinctNode
, QueryPlan.EquiJoinNode
, QueryPlan.ExhaustiveSelectNode
, QueryPlan.FetchTableNode
, QueryPlan.FetchViewNode
, QueryPlan.FunctionalSelectNode
, QueryPlan.GroupNode
, QueryPlan.JoinNode
, QueryPlan.LeftOuterJoinNode
, QueryPlan.LogicalUnionNode
, QueryPlan.MarkerNode
, QueryPlan.MultiColumnEquiSelectNode
, QueryPlan.NaturalJoinNode
, QueryPlan.NonCorrelatedAnyAllNode
, QueryPlan.RangeSelectNode
, QueryPlan.SimplePatternSelectNode
, QueryPlan.SimpleSelectNode
, QueryPlan.SingleQueryPlanNode
, QueryPlan.SingleRowTableNode
, QueryPlan.SortNode
, QueryPlan.SubsetNode
public interface QueryPlanNode
extends java.io.Serializable, java.lang.Cloneable
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
clone() |
Deep clones this query plan.
|
void |
debugString(int indent,
java.lang.StringBuffer buf) |
Writes a textural representation of the node to the StringBuffer at the
given indent level.
|
java.util.ArrayList |
discoverCorrelatedVariables(int level,
java.util.ArrayList list) |
Discovers all the correlated variables in the plan (and plan children)
that reference a particular layer.
|
java.util.ArrayList |
discoverTableNames(java.util.ArrayList list) |
Discovers a list of TableName that represent the sources that this query
requires to complete itself.
|
Table |
evaluate(QueryContext context) |
Evaluates the node and returns the result as a Table.
|
Table evaluate(QueryContext context)
java.util.ArrayList discoverTableNames(java.util.ArrayList list)
The resultant list will not contain the same table name more than once. The resultant list contains TableName objects.
NOTE, if a table is aliased, the unaliased name is returned.
java.util.ArrayList discoverCorrelatedVariables(int level, java.util.ArrayList list)
java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
void debugString(int indent, java.lang.StringBuffer buf)
Copyright © 2018. All rights reserved.