net.sf.saffron.ext
Class ExtentTable
java.lang.Object
|
+--net.sf.saffron.ext.AbstractTable
|
+--net.sf.saffron.ext.ExtentTable
- All Implemented Interfaces:
- SaffronTable
- 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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtentTable
public ExtentTable(SaffronSchema schema,
String name,
SaffronType rowType)
toRel
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.
- Parameters:
cluster - the cluster the relational expression will belong toschemaExp - the parse tree of the expression which evaluates
to a connection object