public class CassandraDynamicTable extends DrillTable implements org.apache.calcite.schema.TranslatableTable, org.apache.calcite.schema.QueryableTable, org.apache.calcite.schema.Wrapper
Constructor and Description |
---|
CassandraDynamicTable(StoragePlugin plugin,
String storageEngineName,
DrillTableSelection selection,
org.apache.calcite.adapter.cassandra.CassandraTable table) |
Modifier and Type | Method and Description |
---|---|
<V> org.apache.calcite.linq4j.Queryable<V> |
asQueryable(org.apache.calcite.linq4j.QueryProvider queryProvider,
org.apache.calcite.schema.SchemaPlus schema,
String tableName) |
Type |
getElementType() |
org.apache.calcite.linq4j.tree.Expression |
getExpression(org.apache.calcite.schema.SchemaPlus schema,
String tableName,
Class clazz) |
org.apache.calcite.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
org.apache.calcite.rel.RelNode |
toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable relOptTable) |
<C> C |
unwrap(Class<C> aClass) |
equals, getGroupScan, getJdbcTableType, getMetadataProviderManager, getPlugin, getSelection, getStatistic, getStorageEngineConfig, getStorageEngineName, getUserName, hashCode, isRolledUp, rolledUpColumnValidInsideAgg, setGroupScan, setOptions, setTableMetadataProviderManager
public CassandraDynamicTable(StoragePlugin plugin, String storageEngineName, DrillTableSelection selection, org.apache.calcite.adapter.cassandra.CassandraTable table)
public 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.TranslatableTable
toRel
in class DrillTable
public <V> org.apache.calcite.linq4j.Queryable<V> asQueryable(org.apache.calcite.linq4j.QueryProvider queryProvider, org.apache.calcite.schema.SchemaPlus schema, String tableName)
asQueryable
in interface org.apache.calcite.schema.QueryableTable
public Type getElementType()
getElementType
in interface org.apache.calcite.schema.QueryableTable
public <C> C unwrap(Class<C> aClass)
unwrap
in interface org.apache.calcite.schema.Wrapper
public org.apache.calcite.linq4j.tree.Expression getExpression(org.apache.calcite.schema.SchemaPlus schema, String tableName, Class clazz)
getExpression
in interface org.apache.calcite.schema.QueryableTable
public org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
getRowType
in interface org.apache.calcite.schema.Table
Copyright © 1970 The Apache Software Foundation. All rights reserved.