|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mckoi.database.QueryPlan.SingleQueryPlanNode
com.mckoi.database.QueryPlan.FunctionalSelectNode
public static class QueryPlan.FunctionalSelectNode
The node for performing a functional select operation on the child node. Some examples of this type of query are; CONCAT(a, ' ', b) > 'abba boh' TONUMBER(DATEFORMAT(a, 'yyyy')) > 2001 LOWER(a) < 'ook' The reason this is a separate node is because it is possible to exploit a functional indexes on a table with this node.
The given expression MUST be of the form; 'function_expression' 'operator' 'constant'
| Field Summary |
|---|
| Fields inherited from class com.mckoi.database.QueryPlan.SingleQueryPlanNode |
|---|
child |
| Constructor Summary | |
|---|---|
QueryPlan.FunctionalSelectNode(QueryPlanNode child,
Expression exp)
|
|
| Method Summary | |
|---|---|
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 child. |
Table |
evaluate(QueryContext context)
Evaluates the node and returns the result as a Table. |
| Methods inherited from class com.mckoi.database.QueryPlan.SingleQueryPlanNode |
|---|
child, debugString, titleString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryPlan.FunctionalSelectNode(QueryPlanNode child,
Expression exp)
| Method Detail |
|---|
public Table evaluate(QueryContext context)
QueryPlanNode
public java.util.ArrayList discoverTableNames(java.util.ArrayList list)
QueryPlan.SingleQueryPlanNode
discoverTableNames in interface QueryPlanNodediscoverTableNames in class QueryPlan.SingleQueryPlanNode
public java.util.ArrayList discoverCorrelatedVariables(int level,
java.util.ArrayList list)
QueryPlan.SingleQueryPlanNode
discoverCorrelatedVariables in interface QueryPlanNodediscoverCorrelatedVariables in class QueryPlan.SingleQueryPlanNode
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
QueryPlan.SingleQueryPlanNode
clone in interface QueryPlanNodeclone in class QueryPlan.SingleQueryPlanNodejava.lang.CloneNotSupportedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||