public class ExternalTable extends DruidTable
DataSource types. Since SQL
requires knowledge of the schema of that input source, the user must provide
that information in SQL (via the `EXTERN` or up-coming `STAGED` function) or
from the upcoming Druid Catalog.| Constructor and Description |
|---|
ExternalTable(DataSource dataSource,
RowSignature rowSignature,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
DataSource |
getDataSource() |
org.apache.calcite.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
boolean |
isBroadcast() |
boolean |
isJoinable() |
org.apache.calcite.rel.RelNode |
toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable relOptTable) |
String |
toString() |
getJdbcTableType, getRowSignature, getStatistic, isRolledUp, rolledUpColumnValidInsideAggpublic ExternalTable(DataSource dataSource, RowSignature rowSignature, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public DataSource getDataSource()
getDataSource in class DruidTablepublic boolean isJoinable()
isJoinable in class DruidTablepublic boolean isBroadcast()
isBroadcast in class DruidTablepublic org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
getRowType in interface org.apache.calcite.schema.TablegetRowType in class DruidTablepublic org.apache.calcite.rel.RelNode toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable relOptTable)
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.