public class StandaloneISQueryTest
extends GCUBEPortType
File sample: # First Query # That's a comment for $Profile in collection("/db/Profiles")//Document/Data/child::*[local-name()='Profile']/Resource return $Profile/ID # Leave a BLANK line among multiple queries # Use this for comments, blank lines will be ignored. for $result in collection("/db/Profiles/GHN") return $result
The only required input is the file containing the queries to execute.
How to execute:
java StandaloneISQueryTest
file.query
Note: It is possible to express multi-line queries as shown in the previous example. The blank line (or the comment token #) will delimit the end of a multi-line query expression.
Constructor and Description |
---|
StandaloneISQueryTest() |
public final void doJob(java.lang.String query)
StandaloneISQueryTestConf.output
.query
- the single query to submit to the ISpublic static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception