public final class Run extends Command
| Constructor and Description |
|---|
Run(java.lang.String file)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
build(CommandBuilder cb)
Builds a string representation from the command.
|
java.lang.String |
pinned(Context ctx)
Checks if the database to be updated is opened (pinned) by a process in another JVM.
|
Result |
result()
Returns the result set, generated by a query command.
|
protected boolean |
run()
Executes the command and serializes the result (internal call).
|
boolean |
stoppable()
Returns true if this command can be stopped.
|
boolean |
updated()
Checks if the command has updated any data.
|
boolean |
updating(Context ctx)
Checks if the command performs updates/write operations.
|
close, error, execute, execute, getOption, getOption, info, info, newData, run, setInput, setInput, supportsProg, toStringpublic Run(java.lang.String file)
file - query fileprotected boolean run()
Commandpublic boolean updating(Context ctx)
Commandctx - database contextpublic void build(CommandBuilder cb)
Commandcb - command builderpublic java.lang.String pinned(Context ctx)
Commandpublic boolean updated()
Commandtrue.public final Result result()
CommandProp.CACHEQUERY is set, and can only be called once.