|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eigenbase.test.SqlToRelTestBase.MockRelOptSchema.MockColumnSet
protected class SqlToRelTestBase.MockRelOptSchema.MockColumnSet
Field Summary | |
---|---|
private List<RelCollation> |
collationList
|
private String[] |
names
|
private RelDataType |
rowType
|
Constructor Summary | |
---|---|
protected |
SqlToRelTestBase.MockRelOptSchema.MockColumnSet(String[] names,
RelDataType rowType,
List<RelCollation> collationList)
|
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 String[] names
private final RelDataType rowType
private final List<RelCollation> collationList
Constructor Detail |
---|
protected SqlToRelTestBase.MockRelOptSchema.MockColumnSet(String[] names, RelDataType rowType, List<RelCollation> collationList)
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 |