public class DropTableHandler extends DefaultSqlHandler
DefaultSqlHandler.ConvertedRelNode, DefaultSqlHandler.MetaDataProviderModifier
config, 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, validateNode
unwrap
public DropTableHandler(SqlHandlerConfig config)
public PhysicalPlan getPlan(org.apache.calcite.sql.SqlNode sqlNode)
getPlan
in class DefaultSqlHandler
sqlNode
- - SqlDropTable (SQL parse tree of drop table [if exists] query)Copyright © 2022 The Apache Software Foundation. All rights reserved.