Package org.apache.calcite.schema
Interface TranslatableTable
- All Superinterfaces:
Table
- All Known Implementing Classes:
ArrowTable,CassandraTable,CsvTranslatableTable,CsvTranslatableTable,DruidTable,ElasticsearchTable,GeodeTable,InnodbTable,JdbcTable,MaterializedViewTable,MockCatalogReader.MockDynamicTable,MockCatalogReader.MockModifiableViewRelOptTable.MockModifiableViewTable,ModifiableViewTable,MongoTable,PigTable,Smalls.SimpleTable,StarTable,ViewTable
Extension to
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.
-
Method Summary
Modifier and TypeMethodDescriptiontoRel(RelOptTable.ToRelContext context, RelOptTable relOptTable) Converts this table into arelational expression.Methods inherited from interface org.apache.calcite.schema.Table
getJdbcTableType, getRowType, getStatistic, isRolledUp, rolledUpColumnValidInsideAgg
-
Method Details
-
toRel
Converts this table into arelational expression.
-