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
ConstructorsConstructorDescriptionCassandraDynamicTable(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.ExpressiongetExpression(org.apache.calcite.schema.SchemaPlus schema, String tableName, Class clazz) org.apache.calcite.rel.type.RelDataTypegetRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) org.apache.calcite.rel.RelNodetoRel(org.apache.calcite.plan.RelOptTable.ToRelContext context, org.apache.calcite.plan.RelOptTable relOptTable) <C> CMethods 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, setTableMetadataProviderManagerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.calcite.schema.Table
getJdbcTableType, getStatistic, isRolledUp, rolledUpColumnValidInsideAggMethods 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:
toRelin interfaceorg.apache.calcite.schema.TranslatableTable- Overrides:
toRelin 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:
asQueryablein interfaceorg.apache.calcite.schema.QueryableTable
-
getElementType
- Specified by:
getElementTypein interfaceorg.apache.calcite.schema.QueryableTable
-
unwrap
- Specified by:
unwrapin 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:
getExpressionin interfaceorg.apache.calcite.schema.QueryableTable
-
getRowType
public org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) - Specified by:
getRowTypein interfaceorg.apache.calcite.schema.Table
-