|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eigenbase.test.SqlToRelTestBase.DelegatingRelOptTable
private static class SqlToRelTestBase.DelegatingRelOptTable
Field Summary | |
---|---|
private RelOptTable |
parent
|
Constructor Summary | |
---|---|
SqlToRelTestBase.DelegatingRelOptTable(RelOptTable parent)
|
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final RelOptTable parent
Constructor Detail |
---|
public SqlToRelTestBase.DelegatingRelOptTable(RelOptTable parent)
Method Detail |
---|
public String[] getQualifiedName()
RelOptTable
getQualifiedName
in interface RelOptTable
public double getRowCount()
RelOptTable
getRowCount
in interface RelOptTable
public RelDataType getRowType()
RelOptTable
getRowType
in interface RelOptTable
public RelOptSchema getRelOptSchema()
RelOptTable
RelOptSchema
this table belongs to.
getRelOptSchema
in interface RelOptTable
public RelNode toRel(RelOptCluster cluster, RelOptConnection connection)
RelOptTable
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.
toRel
in interface RelOptTable
cluster
- the cluster the relational expression will belong toconnection
- the parse tree of the expression which evaluates to a
connection objectpublic List<RelCollation> getCollationList()
RelOptTable
getCollationList
in interface RelOptTable
RelNode.getCollationList()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |