public class MQLCommand
extends java.lang.Object
print person ? select property[?].value dumplist property name ? on person ?| Constructor and Description |
|---|
MQLCommand(java.lang.String pattern) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Tests the equality of this instance.
|
java.lang.String |
execute(java.lang.String... args)
Executes this command and substitutes the ? characters with arguments
from the provided argument array.
|
java.lang.String |
executePrivileged(boolean inCurrentTransaction,
java.lang.String... args)
Executes this command with privileged rights and substitutes the ?
characters with arguments from the provided argument array.
|
java.lang.String |
executePrivileged(java.lang.String... args)
Executes this command with privileged rights and substitutes the ?
characters with arguments from the provided argument array.
|
int |
getArgCount() |
java.lang.String |
getCommand(java.lang.String... args)
Returns the command and substitutes the ? characters with arguments from
the provided argument array.
|
int |
hashCode() |
static void |
main(java.lang.String[] args) |
java.lang.String |
toString() |
public int getArgCount()
public java.lang.String execute(java.lang.String... args)
throws TVCException
args - The arguments to use for replacement of ? charactersTVCException - If unable to execute the command for any reason.public java.lang.String executePrivileged(java.lang.String... args)
throws TVCException
Note: The command is executed with privileged rights outside of any transaction so be aware of the scope of your transaction.
To run the command with privileged rights within the current transaction,
use the method executePrivileged(boolean, String...) instead.
args - The arguments to use for replacement of ? charactersTVCException - If unable to execute the command for any reason.public java.lang.String executePrivileged(boolean inCurrentTransaction,
java.lang.String... args)
throws TVCException
The first argument specifies if the command should be executed within any current ongoing transaction or outside of that scope.
inCurrentTransaction - True to run the MQL command within the
current transaction boundary.args - The arguments to use for replacement of ? charactersTVCException - If unable to execute the command for any reason.public java.lang.String getCommand(java.lang.String... args)
args - The arguments to use for replacement of ? characterspublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic static void main(java.lang.String[] args)
Copyright ? Technia AB. All Rights Reserved.