public class DropTableHandler extends DefaultSqlHandler
DefaultSqlHandler.ConvertedRelNode, DefaultSqlHandler.MetaDataProviderModifierconfig, context| Constructor and Description |
|---|
DropTableHandler(SqlHandlerConfig config) |
| Modifier and Type | Method and Description |
|---|---|
PhysicalPlan |
getPlan(org.apache.calcite.sql.SqlNode sqlNode)
Function resolves the schema and invokes the drop method
(while IF EXISTS statement is used function invokes the drop method only if table exists).
|
addRenamedProject, convertToDrel, convertToPlan, convertToPop, convertToPrel, convertToRawDrel, getPops, log, log, log, logAndSetTextPlan, rewrite, transform, transform, validateAndConvert, validateNodeunwrappublic DropTableHandler(SqlHandlerConfig config)
public PhysicalPlan getPlan(org.apache.calcite.sql.SqlNode sqlNode)
getPlan in class DefaultSqlHandlersqlNode - - SqlDropTable (SQL parse tree of drop table [if exists] query)Copyright © 2021 The Apache Software Foundation. All rights reserved.