Class DrillPluginSchema
java.lang.Object
org.apache.drill.exec.store.AbstractSchema
org.apache.drill.exec.store.drill.plugin.schema.DrillPluginSchema
- 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
-
Method Summary
Modifier and TypeMethodDescriptiongetSubSchema
(String name) org.apache.calcite.schema.Table
Returns string describing schema type which shows where the schema came from.boolean
Reports 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, getExpression, getFullSchemaName, getFunctionNames, getFunctionParameters, getFunctions, getName, getSchemaPath, getStatsTable, getSubPartitions, getTableNamesAndTypes, getTablesByNames, getType, getTypeMap, getTypeNames, getUser, isMutable, modifyTable, needToImpersonateReadingData, snapshot, toString
-
Constructor Details
-
DrillPluginSchema
-
-
Method Details
-
getSubSchema
- Specified by:
getSubSchema
in interfaceorg.apache.calcite.schema.Schema
- Overrides:
getSubSchema
in classAbstractSchema
-
showInInformationSchema
public boolean showInInformationSchema()Description copied from class:AbstractSchema
Reports 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:
showInInformationSchema
in classAbstractSchema
-
getSubSchemaNames
- Specified by:
getSubSchemaNames
in interfaceorg.apache.calcite.schema.Schema
- Overrides:
getSubSchemaNames
in classAbstractSchema
-
getTable
- Specified by:
getTable
in interfaceorg.apache.calcite.schema.Schema
- Overrides:
getTable
in classAbstractSchema
-
getTypeName
Description copied from class:AbstractSchema
Returns 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:
getTypeName
in classAbstractSchema
- Returns:
- schema type name
-
getTableNames
- Specified by:
getTableNames
in interfaceorg.apache.calcite.schema.Schema
- Overrides:
getTableNames
in classAbstractSchema
-