Class DatasourceTable

java.lang.Object
org.apache.druid.sql.calcite.table.DruidTable
org.apache.druid.sql.calcite.table.DatasourceTable
All Implemented Interfaces:
org.apache.calcite.schema.Table, org.apache.calcite.schema.TranslatableTable

public class DatasourceTable extends DruidTable
Represents a SQL table that models a Druid datasource.

Once the catalog code is merged, this class will combine physical information from the segment cache with logical information from the catalog to produce the SQL-user's view of the table. The resulting merged view is used to plan queries and is the source of table information in the INFORMATION_SCHEMA.