|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--saffron.opt.Query
A Query
represents a set of Rel
s which come from the
same select
statement.
Field Summary | |
(package private) HashMap |
mapCorelToRel
Maps name of correlating variable (e.g. |
HashMap |
mapDeferredToCorel
Maps a from-list expression to the name of the correlating variable which references it. |
private int |
nextCorel
|
private VolcanoPlanner |
planner
|
Constructor Summary | |
Query()
|
Method Summary | |
Cluster |
createCluster(Environment env,
Expression exp,
TypeFactory typeFactory)
|
String |
createCorel()
Constructs a new name for a correlating variable. |
String |
createCorelUnresolved(Object deferredLookup)
Creates a name for a correlating variable for which no Rel has
been created yet. |
Rel |
lookupCorel(String name)
Returns the relational expression which populates a correlating variable. |
void |
mapCorel(String name,
Rel rel)
Maps a correlating variable to a Rel . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int nextCorel
final HashMap mapCorelToRel
Rel
which implements it.
public final HashMap mapDeferredToCorel
Rel
.
private final VolcanoPlanner planner
Constructor Detail |
public Query()
Method Detail |
public String createCorel()
public void mapCorel(String name, Rel rel)
Rel
.
public String createCorelUnresolved(Object deferredLookup)
Rel
has
been created yet.
deferredLookup
- contains the information required to resolve the
variable laterpublic Rel lookupCorel(String name)
public Cluster createCluster(Environment env, Expression exp, TypeFactory typeFactory)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |