public class SqlCommandProcessor extends Object
| Modifier and Type | Field and Description |
|---|---|
protected GridKernalContext |
ctx
Kernal context.
|
protected IgniteLogger |
log
Logger.
|
protected SchemaManager |
schemaMgr
Schema manager.
|
| Constructor and Description |
|---|
SqlCommandProcessor(GridKernalContext ctx)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
finishActiveTxIfNecessary()
Commits active transaction if exists.
|
boolean |
isCommandSupported(SqlCommand cmd) |
@Nullable FieldsQueryCursor<List<?>> |
runCommand(SqlCommand cmdNative)
Execute command.
|
protected final GridKernalContext ctx
protected final IgniteLogger log
protected final SchemaManager schemaMgr
public SqlCommandProcessor(GridKernalContext ctx)
ctx - Kernal context.@Nullable public @Nullable FieldsQueryCursor<List<?>> runCommand(SqlCommand cmdNative)
cmdNative - Native command.public boolean isCommandSupported(SqlCommand cmd)
True if command is supported by this command processor.protected void finishActiveTxIfNecessary()
throws IgniteCheckedException
IgniteCheckedException - If failed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023