Package org.apache.calcite.schema
Interface TranslatableTable
-
- All Superinterfaces:
Table
- All Known Implementing Classes:
CassandraTable
,CsvTranslatableTable
,CsvTranslatableTable
,DruidTable
,ElasticsearchTable
,GeodeTable
,InnodbTable
,JdbcTable
,MaterializedViewTable
,MockCatalogReader.MockDynamicTable
,MockCatalogReader.MockModifiableViewRelOptTable.MockModifiableViewTable
,ModifiableViewTable
,MongoTable
,PigTable
,StarTable
,ViewTable
public interface TranslatableTable extends Table
Extension toTable
that specifies how it is to be translated to arelational 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RelNode
toRel(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 Detail
-
toRel
RelNode toRel(RelOptTable.ToRelContext context, RelOptTable relOptTable)
Converts this table into arelational expression
.
-
-