|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RelOptTable
Represents a relational dataset in a RelOptSchema
. It has methods to
describe and implement itself.
Method Summary | |
---|---|
List<RelCollation> |
getCollationList()
Returns a description of the physical ordering (or orderings) of the rows returned from this table. |
String[] |
getQualifiedName()
Obtains an identifier for this table. |
RelOptSchema |
getRelOptSchema()
Returns the RelOptSchema this table belongs to. |
double |
getRowCount()
Returns an estimate of the number of rows in the table. |
RelDataType |
getRowType()
Describes the type of rows returned by this table. |
RelNode |
toRel(RelOptCluster cluster,
RelOptConnection connection)
Converts this table into a relational expression . |
Method Detail |
---|
String[] getQualifiedName()
double getRowCount()
RelDataType getRowType()
RelOptSchema getRelOptSchema()
RelOptSchema
this table belongs to.
RelNode toRel(RelOptCluster cluster, RelOptConnection 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 objectList<RelCollation> getCollationList()
RelNode.getCollationList()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |