net.sf.saffron.opt
Class VolcanoCluster
java.lang.Object
|
+--net.sf.saffron.opt.VolcanoCluster
- public class VolcanoCluster
- extends Object
A VolcanoCluster is a collection of SaffronRelational
expressions which have the same environment.
See the comment against net.sf.saffron.oj.xlat.QueryInfo on
why you should put fields in that class, not this one.
- Since:
- 27 September, 2001
- Version:
- $Id: //open/saffron/src/net/sf/saffron/opt/VolcanoCluster.java#6 $
- Author:
- jhyde
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
env
public final Environment env
typeFactory
public final SaffronTypeFactory typeFactory
query
public final VolcanoQuery query
planner
final VolcanoPlanner planner
originalExpression
public RexNode originalExpression
rexBuilder
public final RexBuilder rexBuilder
rexToSqlTranslator
public RexToSqlTranslator rexToSqlTranslator
VolcanoCluster
VolcanoCluster(VolcanoQuery query,
Environment env,
VolcanoPlanner planner,
SaffronTypeFactory typeFactory)
- Creates a cluster.
- Pre-condition:
- planner != null, typeFactory != null
getOriginalExpression
public RexNode getOriginalExpression()
getPlanner
public SaffronPlanner getPlanner()