Class ExtentTable

All Implemented Interfaces:

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 net.sf.saffron.ext.AbstractTable
name, rowType, schema
Constructor Summary
ExtentTable(SaffronSchema schema, String name, SaffronType rowType)
Method Summary
 SaffronRel toRel(VolcanoCluster cluster, SaffronConnection schemaExp)
          Converts this table into a relational expression.
Methods inherited from class net.sf.saffron.ext.AbstractTable
getName, getQualifiedName, getRowCount, getRowType, getSaffronSchema
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ExtentTable(SaffronSchema schema,
                   String name,
                   SaffronType rowType)
Method Detail


public SaffronRel toRel(VolcanoCluster cluster,
                        SaffronConnection schemaExp)
Description copied from interface: SaffronTable
Converts this table into a relational expression.

The planner calls this method to convert a table into an initial relational expression, generally something abstract, such as a TableAccessRel, then optimizes this expression by applying rules to transform it into more efficient access methods for this table.

cluster - the cluster the relational expression will belong to
schemaExp - the parse tree of the expression which evaluates to a connection object