Class ShowSchemasHandler
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.ShowSchemasHandler
-
Nested Class Summary
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.sql.SqlNode
rewrite
(org.apache.calcite.sql.SqlNode sqlNode) Rewrite the parse tree as SELECT ...Methods inherited from class org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler
addRenamedProject, convertToDrel, convertToPlan, convertToPop, convertToPrel, convertToRawDrel, getPlan, getPops, log, log, log, logAndSetTextPlan, transform, transform, validateAndConvert, validateNode
Methods inherited from class org.apache.drill.exec.planner.sql.handlers.AbstractSqlHandler
unwrap
-
Constructor Details
-
ShowSchemasHandler
-
-
Method Details
-
rewrite
public org.apache.calcite.sql.SqlNode rewrite(org.apache.calcite.sql.SqlNode sqlNode) throws ForemanSetupException Rewrite the parse tree as SELECT ... FROM INFORMATION_SCHEMA.SCHEMATA ...- Overrides:
rewrite
in classDefaultSqlHandler
- Parameters:
sqlNode
- sql parse tree to be rewritten- Returns:
- Rewritten sql parse tree
- Throws:
ForemanSetupException
-