AbstractCommand, Quidem.SqlCommandpublic interface Command
AbstractCommand,
CommandHandler| Modifier and Type | Interface | Description |
|---|---|---|
static interface |
Command.Context |
Execution context for a command.
|
static interface |
Command.ResultChecker |
| Modifier and Type | Method | Description |
|---|---|---|
String |
describe(Command.Context x) |
Returns a string describing this command.
|
void |
execute(Command.Context x,
boolean execute) |
Executes this command.
|
String describe(Command.Context x)
For example: "OkCommand [sql: select * from emp]" or "SkipCommand".
x - Execution contextvoid execute(Command.Context x, boolean execute) throws Exception
x - Execution contextexecute - Whether to execute (false if execution is disabled, say by
an 'if')Exception - if command failsCopyright © 2014–2018 Julian Hyde. All rights reserved.