public class OLAPTable
extends org.apache.calcite.adapter.java.AbstractQueryableTable
implements org.apache.calcite.schema.TranslatableTable
| Constructor and Description |
|---|
OLAPTable(OLAPSchema schema,
org.apache.kylin.metadata.model.TableDesc tableDesc) |
| Modifier and Type | Method and Description |
|---|---|
<T> org.apache.calcite.linq4j.Queryable<T> |
asQueryable(org.apache.calcite.linq4j.QueryProvider queryProvider,
org.apache.calcite.schema.SchemaPlus schema,
String tableName) |
org.apache.calcite.linq4j.Enumerable<Object[]> |
executeHiveQuery(org.apache.calcite.DataContext optiqContext,
int ctxSeq) |
org.apache.calcite.linq4j.Enumerable<Object[]> |
executeIndexQuery(org.apache.calcite.DataContext optiqContext,
int ctxSeq) |
org.apache.calcite.linq4j.Enumerable<Object[]> |
executeLookupTableQuery(org.apache.calcite.DataContext optiqContext,
int ctxSeq) |
List<org.apache.kylin.metadata.model.ColumnDesc> |
getExposedColumns() |
org.apache.calcite.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
OLAPSchema |
getSchema() |
org.apache.kylin.metadata.model.TableDesc |
getSourceTable() |
org.apache.calcite.schema.Statistic |
getStatistic() |
String |
getTableName() |
org.apache.calcite.rel.RelNode |
toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable relOptTable) |
String |
toString() |
getElementType, getExpressionpublic OLAPTable(OLAPSchema schema, org.apache.kylin.metadata.model.TableDesc tableDesc)
public OLAPSchema getSchema()
public org.apache.kylin.metadata.model.TableDesc getSourceTable()
public String getTableName()
public List<org.apache.kylin.metadata.model.ColumnDesc> getExposedColumns()
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.rel.RelNode toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable relOptTable)
toRel in interface org.apache.calcite.schema.TranslatableTablepublic <T> org.apache.calcite.linq4j.Queryable<T> asQueryable(org.apache.calcite.linq4j.QueryProvider queryProvider,
org.apache.calcite.schema.SchemaPlus schema,
String tableName)
asQueryable in interface org.apache.calcite.schema.QueryableTablepublic org.apache.calcite.schema.Statistic getStatistic()
getStatistic in interface org.apache.calcite.schema.TablegetStatistic in class org.apache.calcite.schema.impl.AbstractTablepublic org.apache.calcite.linq4j.Enumerable<Object[]> executeIndexQuery(org.apache.calcite.DataContext optiqContext, int ctxSeq)
public org.apache.calcite.linq4j.Enumerable<Object[]> executeLookupTableQuery(org.apache.calcite.DataContext optiqContext, int ctxSeq)
public org.apache.calcite.linq4j.Enumerable<Object[]> executeHiveQuery(org.apache.calcite.DataContext optiqContext, int ctxSeq)
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.