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