|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryPlanNode
A node element of a query plan tree. A plan of a query is represented as a tree structure of such nodes. The design allows for plan nodes to be easily reorganised for the construction of better plans.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |