public final class XQuery extends Command
| Constructor and Description |
|---|
XQuery(java.lang.String query)
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 XQuery(java.lang.String query)
query - query to evaluateprotected boolean run()
Commandpublic 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.public void build(CommandBuilder cb)
Command