public final class InfoStorage extends Command
| Constructor and Description |
|---|
InfoStorage(java.lang.String... arg)
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.
|
static byte[] |
table(Data data,
int s,
int e)
Prints the specified range of the table.
|
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 InfoStorage(java.lang.String... arg)
arg - optional argumentsprotected boolean run()
throws java.io.IOException
Commandpublic static byte[] table(Data data, int s, int e)
data - data references - first node to be printede - last node to be printedpublic void build(CommandBuilder cb)
Commandcb - command builderpublic boolean updating(Context ctx)
Commandpublic java.lang.String pinned(Context ctx)
Commandpublic boolean updated()
Commandtrue.public final Result result()
CommandProp.CACHEQUERY is set, and can only be called once.