public class CommandProcessor extends SqlCommandProcessor
ctx, log| Constructor and Description |
|---|
CommandProcessor(GridKernalContext ctx,
H2SchemaManager schemaMgr,
IgniteH2Indexing idx)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isCommand(org.h2.command.Prepared cmd) |
static boolean |
isCommandNoOp(org.h2.command.Prepared cmd) |
boolean |
isCommandSupported(SqlCommand cmd) |
CommandResult |
runCommand(String sql,
SqlCommand cmdNative,
GridSqlStatement cmdH2,
QueryParameters params,
@Nullable SqlClientContext cliCtx,
long qryId)
Execute command.
|
FieldsQueryCursor<List<?>> |
runNativeCommand(String sql,
SqlCommand cmdNative,
QueryParameters params,
@Nullable SqlClientContext cliCtx,
Long qryId)
Execute native command.
|
finishActiveTxIfNecessary, runCommandpublic CommandProcessor(GridKernalContext ctx, H2SchemaManager schemaMgr, IgniteH2Indexing idx)
ctx - Kernal context.schemaMgr - Schema manager.public CommandResult runCommand(String sql, SqlCommand cmdNative, GridSqlStatement cmdH2, QueryParameters params, @Nullable @Nullable SqlClientContext cliCtx, long qryId) throws IgniteCheckedException
sql - SQL.cmdNative - Native command (if any).cmdH2 - H2 command (if any).params - Parameters.cliCtx - Client context.qryId - Running query ID.IgniteCheckedExceptionpublic FieldsQueryCursor<List<?>> runNativeCommand(String sql, SqlCommand cmdNative, QueryParameters params, @Nullable @Nullable SqlClientContext cliCtx, Long qryId) throws IgniteCheckedException
sql - SQL.cmdNative - Native command.params - Parameters.cliCtx - Client context.qryId - Running query ID.IgniteCheckedExceptionpublic boolean isCommandSupported(SqlCommand cmd)
isCommandSupported in class SqlCommandProcessorpublic static boolean isCommand(org.h2.command.Prepared cmd)
cmd - Statement.cmd is a DDL statement we're able to handle.public static boolean isCommandNoOp(org.h2.command.Prepared cmd)
cmd - Statement.cmd is a no-op.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023