public class DrillViewTable extends Object implements org.apache.calcite.schema.TranslatableTable, DrillViewInfoProvider
| Constructor and Description |
|---|
DrillViewTable(View view,
String viewOwner,
ViewExpansionContext viewExpansionContext) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.schema.Schema.TableType |
getJdbcTableType() |
org.apache.calcite.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
org.apache.calcite.schema.Statistic |
getStatistic() |
String |
getViewSql()
Get the query part of the view.
|
org.apache.calcite.rel.RelNode |
toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable relOptTable) |
public DrillViewTable(View view, String viewOwner, ViewExpansionContext viewExpansionContext)
public org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
getRowType in interface org.apache.calcite.schema.Tablepublic org.apache.calcite.schema.Statistic getStatistic()
getStatistic in interface org.apache.calcite.schema.Tablepublic org.apache.calcite.rel.RelNode toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable relOptTable)
toRel in interface org.apache.calcite.schema.TranslatableTablepublic org.apache.calcite.schema.Schema.TableType getJdbcTableType()
getJdbcTableType in interface org.apache.calcite.schema.Tablepublic String getViewSql()
DrillViewInfoProvidergetViewSql in interface DrillViewInfoProviderCopyright © 2017 The Apache Software Foundation. All rights reserved.