public class DdlExecutorImpl extends Object implements DdlExecutor, ReflectiveVisitor
DdlExecutor.USELESS| Modifier | Constructor and Description |
|---|---|
protected |
DdlExecutorImpl()
Creates a DdlExecutorImpl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(SqlNode node,
CalcitePrepare.Context context)
Template for methods that execute DDL commands.
|
void |
executeDdl(CalcitePrepare.Context context,
SqlNode node)
Executes a DDL statement.
|
protected DdlExecutorImpl()
public void executeDdl(CalcitePrepare.Context context, SqlNode node)
DdlExecutorThe statement identified itself as DDL in the
CalcitePrepare.ParseResult.kind() field.
executeDdl in interface DdlExecutorpublic void execute(SqlNode node, CalcitePrepare.Context context)
The base implementation throws UnsupportedOperationException
because a SqlNode is not DDL, but overloaded methods such as
public void execute(SqlCreateFoo, CalcitePrepare.Context) are
called via reflection.
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.