Class CassandraDynamicTable
java.lang.Object
org.apache.drill.exec.planner.logical.DrillTable
org.apache.drill.exec.store.cassandra.schema.CassandraDynamicTable
- All Implemented Interfaces:
org.apache.calcite.schema.QueryableTable
,org.apache.calcite.schema.Table
,org.apache.calcite.schema.TranslatableTable
,org.apache.calcite.schema.Wrapper
public class CassandraDynamicTable
extends DrillTable
implements org.apache.calcite.schema.TranslatableTable, org.apache.calcite.schema.QueryableTable, org.apache.calcite.schema.Wrapper
-
Constructor Summary
ConstructorDescriptionCassandraDynamicTable
(StoragePlugin plugin, String storageEngineName, DrillTableSelection selection, org.apache.calcite.adapter.cassandra.CassandraTable table) -
Method Summary
Modifier and TypeMethodDescription<V> org.apache.calcite.linq4j.Queryable<V>
asQueryable
(org.apache.calcite.linq4j.QueryProvider queryProvider, org.apache.calcite.schema.SchemaPlus schema, String tableName) 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
Methods inherited from class org.apache.drill.exec.planner.logical.DrillTable
equals, getGroupScan, getJdbcTableType, getMetadataProviderManager, getPlugin, getSelection, getStatistic, getStorageEngineConfig, getStorageEngineName, getUserName, hashCode, isRolledUp, rolledUpColumnValidInsideAgg, setGroupScan, setOptions, setTableMetadataProviderManager
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.calcite.schema.Table
getJdbcTableType, getStatistic, isRolledUp, rolledUpColumnValidInsideAgg
Methods inherited from interface org.apache.calcite.schema.Wrapper
maybeUnwrap, unwrapOrThrow
-
Constructor Details
-
CassandraDynamicTable
public CassandraDynamicTable(StoragePlugin plugin, String storageEngineName, DrillTableSelection selection, org.apache.calcite.adapter.cassandra.CassandraTable table)
-
-
Method Details
-
toRel
public org.apache.calcite.rel.RelNode toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context, org.apache.calcite.plan.RelOptTable relOptTable) - Specified by:
toRel
in interfaceorg.apache.calcite.schema.TranslatableTable
- Overrides:
toRel
in classDrillTable
-
asQueryable
public <V> org.apache.calcite.linq4j.Queryable<V> asQueryable(org.apache.calcite.linq4j.QueryProvider queryProvider, org.apache.calcite.schema.SchemaPlus schema, String tableName) - Specified by:
asQueryable
in interfaceorg.apache.calcite.schema.QueryableTable
-
getElementType
- Specified by:
getElementType
in interfaceorg.apache.calcite.schema.QueryableTable
-
unwrap
- Specified by:
unwrap
in interfaceorg.apache.calcite.schema.Wrapper
-
getExpression
public org.apache.calcite.linq4j.tree.Expression getExpression(org.apache.calcite.schema.SchemaPlus schema, String tableName, Class clazz) - Specified by:
getExpression
in interfaceorg.apache.calcite.schema.QueryableTable
-
getRowType
public org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) - Specified by:
getRowType
in interfaceorg.apache.calcite.schema.Table
-