public class DatasourceTable extends DruidTable
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.
| Modifier and Type | Class and Description |
|---|---|
static class |
DatasourceTable.PhysicalDatasourceMetadata
The physical metadata for a datasource, derived from the list of segments
published in the Coordinator.
|
| Constructor and Description |
|---|
DatasourceTable(DatasourceTable.PhysicalDatasourceMetadata physicalMetadata) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
DataSource |
getDataSource() |
int |
hashCode() |
boolean |
isBroadcast() |
boolean |
isJoinable() |
org.apache.calcite.rel.RelNode |
toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable table) |
String |
toString() |
getJdbcTableType, getRowSignature, getRowType, getStatistic, isRolledUp, rolledUpColumnValidInsideAggpublic DatasourceTable(DatasourceTable.PhysicalDatasourceMetadata physicalMetadata)
public DataSource getDataSource()
getDataSource in class DruidTablepublic boolean isJoinable()
isJoinable in class DruidTablepublic boolean isBroadcast()
isBroadcast in class DruidTablepublic org.apache.calcite.rel.RelNode toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable table)
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.