net.sf.saffron.opt
Class RelImplementor.RelBind

java.lang.Object
  |
  +--net.sf.saffron.opt.RelImplementor.RelBind
All Implemented Interfaces:
RelImplementor.Bind
Enclosing class:
RelImplementor

private class RelImplementor.RelBind
extends Object
implements RelImplementor.Bind

Binds a relational expression to whatever another relational expression is currently bound to.

Note that if relational expressions are shared, then this binding can change over time. Consider, for instance "select * from emps where deptno = 10 union select * from emps where deptno = 20". There will be a reader of "emps" which is used by the two filter expressions "deptno = 10" and "deptno = 20". The "emp" reader will assign its current row to "var4" in the first binding, and to "var8" in the second.


Field Summary
private  SaffronRel rel
           
 
Constructor Summary
(package private) RelImplementor.RelBind(SaffronRel rel)
           
 
Method Summary
private  RelImplementor.Frame findFrame()
           
 Variable getVariable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rel

private final SaffronRel rel
Constructor Detail

RelImplementor.RelBind

RelImplementor.RelBind(SaffronRel rel)
Method Detail

getVariable

public Variable getVariable()
Specified by:
getVariable in interface RelImplementor.Bind

findFrame

private RelImplementor.Frame findFrame()

SourceForge.net_Logo