public interface TranslatableTable extends Table
Table that specifies how it is to be translated to
a planner node.
It is optional for a Table to implement this interface. A Table that does not implement this interface, a Table will be converted to an EnumerableTableAccessRel. Generally a Table will implements this interface to create a particular subclass of RelNode, and also register rules that act on that particular subclass of RelNode.
| Modifier and Type | Method and Description |
|---|---|
RelNode |
toRel(RelOptTable.ToRelContext context,
RelOptTable relOptTable)
Converts this table into a
relational expression. |
getJdbcTableType, getRowType, getStatisticRelNode toRel(RelOptTable.ToRelContext context, RelOptTable relOptTable)
relational expression.Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.