saffron.ext
Class ExtentTable

java.lang.Object
  |
  +--saffron.ext.AbstractTable
        |
        +--saffron.ext.ExtentTable
All Implemented Interfaces:
Table

public class ExtentTable
extends AbstractTable

ExtentTable is a relational expression formed by all of the instances of a given class. It is transformed into an ExtentRel.


Field Summary
 
Fields inherited from class saffron.ext.AbstractTable
name, rowType, schema
 
Constructor Summary
ExtentTable(Schema schema, String name, Type rowType)
           
 
Method Summary
 Rel toRel(Cluster cluster, Expression schemaExp)
          Converts this table into a relational expression.
 
Methods inherited from class saffron.ext.AbstractTable
getName, getQualifiedName, getRowCount, getRowType, getSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtentTable

public ExtentTable(Schema schema,
                   String name,
                   Type rowType)
Method Detail

toRel

public Rel toRel(Cluster cluster,
                 Expression schemaExp)
Description copied from interface: Table
Converts this table into a relational expression. This relational expression can then be optimized by applying rules to transform it into other access methods for this table.

Parameters:
cluster - the cluster this Rel will belong to
schemaExp - the parse tree of the expression which evaluates to a connection object

SourceForge.net_Logo