Class DruidSchemaFactory.DruidDataSources
java.lang.Object
org.apache.drill.exec.store.AbstractSchema
org.apache.drill.exec.store.druid.schema.DruidSchemaFactory.DruidDataSources
- All Implemented Interfaces:
AutoCloseable,org.apache.calcite.schema.Schema,SchemaPartitionExplorer
- Enclosing class:
DruidSchemaFactory
-
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 TypeMethodDescriptiongetSubSchema(String name) org.apache.calcite.schema.TableReturns string describing schema type which shows where the schema came from.voidsetHolder(org.apache.calcite.schema.SchemaPlus plusOfThis) 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, showInInformationSchema, snapshot, toString
-
Constructor Details
-
DruidDataSources
-
-
Method Details
-
setHolder
public void setHolder(org.apache.calcite.schema.SchemaPlus plusOfThis) -
getSubSchema
- Specified by:
getSubSchemain interfaceorg.apache.calcite.schema.Schema- Overrides:
getSubSchemain classAbstractSchema
-
getSubSchemaNames
- Specified by:
getSubSchemaNamesin interfaceorg.apache.calcite.schema.Schema- Overrides:
getSubSchemaNamesin classAbstractSchema
-
getTable
- Specified by:
getTablein interfaceorg.apache.calcite.schema.Schema- Overrides:
getTablein classAbstractSchema
-
getTableNames
- Specified by:
getTableNamesin interfaceorg.apache.calcite.schema.Schema- Overrides:
getTableNamesin 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
-