public interface TranslatableTable extends Table
Table that specifies how it is to be translated to
a relational expression.
It is optional for a Table to implement this interface. If Table does
not implement this interface, it will be converted to an
EnumerableTableScan.
Generally a Table will implement 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, getStatistic, isRolledUp, rolledUpColumnValidInsideAggRelNode toRel(RelOptTable.ToRelContext context, RelOptTable relOptTable)
relational expression.Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.