public class DdlStatementsProcessor extends Object
Contains higher level logic to handle operations as a whole and communicate with the client.
| Constructor and Description |
|---|
DdlStatementsProcessor() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isDdlStatement(org.h2.command.Prepared cmd) |
FieldsQueryCursor<List<?>> |
runDdlStatement(String sql,
org.h2.command.Prepared prepared)
Execute DDL statement.
|
FieldsQueryCursor<List<?>> |
runDdlStatement(String sql,
SqlCommand cmd)
Run DDL statement.
|
void |
start(GridKernalContext ctx,
IgniteH2Indexing idx)
Initialize message handlers and this' fields needed for further operation.
|
public void start(GridKernalContext ctx, IgniteH2Indexing idx)
ctx - Kernal context.idx - Indexing.public FieldsQueryCursor<List<?>> runDdlStatement(String sql, SqlCommand cmd) throws IgniteCheckedException
sql - Original SQL.cmd - Command.IgniteCheckedException - On error.public FieldsQueryCursor<List<?>> runDdlStatement(String sql, org.h2.command.Prepared prepared) throws IgniteCheckedException
sql - SQL.prepared - Prepared.IgniteCheckedException - On error.public static boolean isDdlStatement(org.h2.command.Prepared cmd)
cmd - Statement.cmd is a DDL statement we're able to handle.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018