Class SchemaHandler
java.lang.Object
org.apache.drill.exec.planner.sql.handlers.AbstractSqlHandler
org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler
org.apache.drill.exec.planner.sql.handlers.SchemaHandler
- Direct Known Subclasses:
SchemaHandler.Add
,SchemaHandler.Create
,SchemaHandler.Describe
,SchemaHandler.Drop
,SchemaHandler.Remove
Parent class for CREATE / DROP / DESCRIBE / ALTER SCHEMA handlers.
Contains common logic on how extract workspace, output error result.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
ALTER SCHEMA ADD command handler.static class
CREATE SCHEMA command handler.static class
DESCRIBE SCHEMA FOR TABLE command handler.static class
DROP SCHEMA command handler.static class
ALTER SCHEMA REMOVE command handler.Nested classes/interfaces inherited from class org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler
DefaultSqlHandler.ConvertedRelNode, DefaultSqlHandler.MetaDataProviderModifier
-
Field Summary
Fields inherited from class org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler
config, context
-
Method Summary
Methods inherited from class org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler
addRenamedProject, convertToDrel, convertToPlan, convertToPop, convertToPrel, convertToRawDrel, getPlan, getPops, log, log, log, logAndSetTextPlan, rewrite, transform, transform, validateAndConvert, validateNode
Methods inherited from class org.apache.drill.exec.planner.sql.handlers.AbstractSqlHandler
unwrap
-
Method Details
-
getWorkspaceSchema
public WorkspaceSchemaFactory.WorkspaceSchema getWorkspaceSchema(List<String> tableSchema, String tableName)
-