|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents a relational dataset in a SaffronSchema.
It has methods to describe and implement itself.
| Method Summary | |
String |
getQualifiedName()
Obtain an identifier for this table. |
double |
getRowCount()
Returns an estimate of the number of rows in the table. |
SaffronType |
getRowType()
Describes the type of rows returned by this table. |
SaffronSchema |
getSaffronSchema()
Returns the SaffronSchema this table belongs to. |
SaffronRel |
toRel(VolcanoCluster cluster,
SaffronConnection connection)
Converts this table into a relational expression. |
| Method Detail |
public String getQualifiedName()
public double getRowCount()
public SaffronType getRowType()
public SaffronSchema getSaffronSchema()
SaffronSchema this table belongs to.
public SaffronRel toRel(VolcanoCluster cluster,
SaffronConnection connection)
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 toconnection - the parse tree of the expression which evaluates
to a connection object
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||