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

Field Summary
 Environment env
           
 RexNode originalExpression
           
(package private)  VolcanoPlanner planner
           
 VolcanoQuery query
           
 RexBuilder rexBuilder
           
 RexToSqlTranslator rexToSqlTranslator
           
 SaffronTypeFactory typeFactory
           
 
Constructor Summary
(package private) VolcanoCluster(VolcanoQuery query, Environment env, VolcanoPlanner planner, SaffronTypeFactory typeFactory)
          Creates a cluster.
 
Method Summary
 RexNode getOriginalExpression()
           
 SaffronPlanner getPlanner()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

VolcanoCluster

VolcanoCluster(VolcanoQuery query,
               Environment env,
               VolcanoPlanner planner,
               SaffronTypeFactory typeFactory)
Creates a cluster.

Pre-condition:
planner != null, typeFactory != null
Method Detail

getOriginalExpression

public RexNode getOriginalExpression()

getPlanner

public SaffronPlanner getPlanner()

SourceForge.net_Logo