|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--net.sf.saffron.rex.RexShuttle
|
+--net.sf.saffron.oj.util.UnboundVariableCollector
Finds all unbound varaibles in a relational expression
collectFromRel(net.sf.saffron.rel.SaffronRel)| Field Summary | |
(package private) Environment |
env
|
(package private) Hashtable |
mapNameToClass
|
| Constructor Summary | |
(package private) |
UnboundVariableCollector(Environment env)
|
| Method Summary | |
static UnboundVariableCollector |
collectFromRel(SaffronRel rel)
Returns a description of what variables are unbound inside rel. |
ExpressionList |
getArgumentList()
Returns an argument list value0, ..., valueN containing
all variables valueivalue in this cluster's
expression. |
StatementList |
getAssignmentList()
Returns a set of assignments to member variables: this.value0 =
value0; ...; this.valueN = valueN; return this;. |
MemberDeclarationList |
getMemberDeclarationList()
Returns a set of declarations of members to hold variables: private Class0 value0; ...; private ClassN valueN;. |
ParameterList |
getParameterList()
Returns a parameter list Class0 value0, ..., ClassN valueN
containing all of the unbound variables
valueivalue in this cluster's expression. |
RexNode |
visit(RexCorrelVariable v)
|
| Methods inherited from class net.sf.saffron.rex.RexShuttle |
visit, visit, visit, visit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
Environment env
Hashtable mapNameToClass
| Constructor Detail |
UnboundVariableCollector(Environment env)
| Method Detail |
public static UnboundVariableCollector collectFromRel(SaffronRel rel)
rel.
public ExpressionList getArgumentList()
value0, ..., valueN containing
all variables valueivalue in this cluster's
expression.
public StatementList getAssignmentList()
this.value0 =
value0; ...; this.valueN = valueN; return this;.
public MemberDeclarationList getMemberDeclarationList()
private Class0 value0; ...; private ClassN valueN;.
public ParameterList getParameterList()
Class0 value0, ..., ClassN valueN
containing all of the unbound variables
valueivalue in this cluster's expression.
public RexNode visit(RexCorrelVariable v)
visit in class RexShuttle
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||