Class CassandraDrillSchema
java.lang.Object
org.apache.drill.exec.store.AbstractSchema
org.apache.drill.exec.store.cassandra.schema.CassandraDrillSchema
- All Implemented Interfaces:
AutoCloseable,org.apache.calcite.schema.Schema,SchemaPartitionExplorer
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.calcite.schema.Schema
org.apache.calcite.schema.Schema.TableType -
Field Summary
Fields inherited from class org.apache.drill.exec.store.AbstractSchema
name, SCHEMA_SEPARATOR, schemaPath -
Constructor Summary
ConstructorsConstructorDescriptionCassandraDrillSchema(String name, StoragePlugin plugin, org.apache.calcite.adapter.cassandra.CassandraSchema delegatingSchema) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.adapter.cassandra.CassandraSchemaorg.apache.calcite.linq4j.tree.ExpressiongetExpression(org.apache.calcite.schema.SchemaPlus parentSchema, String name) org.apache.calcite.schema.TableReturns string describing schema type which shows where the schema came from.Methods inherited from class org.apache.drill.exec.store.AbstractSchema
appendToStatsTable, applyFunctionParameters, areTableNamesCaseSensitive, close, createNewTable, createNewTable, createStatsTable, createView, dropTable, dropView, getDefaultSchema, getFullSchemaName, getFunctionNames, getFunctionParameters, getFunctions, getName, getSchemaPath, getStatsTable, getSubPartitions, getSubSchema, getSubSchemaNames, getTableNamesAndTypes, getTablesByNames, getType, getTypeMap, getTypeNames, getUser, isMutable, modifyTable, needToImpersonateReadingData, showInInformationSchema, snapshot, toString
-
Constructor Details
-
CassandraDrillSchema
public CassandraDrillSchema(String name, StoragePlugin plugin, org.apache.calcite.adapter.cassandra.CassandraSchema delegatingSchema)
-
-
Method Details
-
getTypeName
Description copied from class:AbstractSchemaReturns string describing schema type which shows where the schema came from. Good practice here is to return json type name of storage plugin's config.- Specified by:
getTypeNamein classAbstractSchema- Returns:
- schema type name
-
getTable
- Specified by:
getTablein interfaceorg.apache.calcite.schema.Schema- Overrides:
getTablein classAbstractSchema
-
getTableNames
- Specified by:
getTableNamesin interfaceorg.apache.calcite.schema.Schema- Overrides:
getTableNamesin classAbstractSchema
-
getExpression
public org.apache.calcite.linq4j.tree.Expression getExpression(org.apache.calcite.schema.SchemaPlus parentSchema, String name) - Specified by:
getExpressionin interfaceorg.apache.calcite.schema.Schema- Overrides:
getExpressionin classAbstractSchema
-
getDelegatingSchema
public org.apache.calcite.adapter.cassandra.CassandraSchema getDelegatingSchema()
-