Package org.apache.calcite.jdbc
Class DynamicRootSchema.RootSchema
java.lang.Object
org.apache.drill.exec.store.AbstractSchema
org.apache.calcite.jdbc.DynamicRootSchema.RootSchema
- All Implemented Interfaces:
AutoCloseable,org.apache.calcite.schema.Schema,SchemaPartitionExplorer
- Enclosing class:
DynamicRootSchema
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.linq4j.tree.ExpressiongetExpression(org.apache.calcite.schema.SchemaPlus parentSchema, String name) Returns string describing schema type which shows where the schema came from.booleanReports whether to show items from this schema in INFORMATION_SCHEMA tables.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, getTable, getTableNames, getTableNamesAndTypes, getTablesByNames, getType, getTypeMap, getTypeNames, getUser, isMutable, modifyTable, needToImpersonateReadingData, snapshot, toString
-
Constructor Details
-
RootSchema
-
-
Method Details
-
getSubSchemaNames
- Specified by:
getSubSchemaNamesin interfaceorg.apache.calcite.schema.Schema- Overrides:
getSubSchemaNamesin classAbstractSchema
-
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
-
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
-
showInInformationSchema
public boolean showInInformationSchema()Description copied from class:AbstractSchemaReports whether to show items from this schema in INFORMATION_SCHEMA tables. (Controls ... TODO: Doc.: Mention what this typically controls or affects.)This base implementation returns
true.- Overrides:
showInInformationSchemain classAbstractSchema
-