org.eigenbase.oj.rel
Class JavaRelImplementor.RelBind

java.lang.Object
  extended by org.eigenbase.oj.rel.JavaRelImplementor.RelBind
All Implemented Interfaces:
JavaRelImplementor.Bind
Enclosing class:
JavaRelImplementor

private class JavaRelImplementor.RelBind
extends Object
implements JavaRelImplementor.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  RelNode rel
           
 
Constructor Summary
JavaRelImplementor.RelBind(RelNode rel)
           
 
Method Summary
private  JavaRelImplementor.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 RelNode rel
Constructor Detail

JavaRelImplementor.RelBind

JavaRelImplementor.RelBind(RelNode rel)
Method Detail

getVariable

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

findFrame

private JavaRelImplementor.Frame findFrame()