iTQL ShellThe iTQLTM shell is a console-based, interactive shell, allowing users to issue iTQL commands to Mulgara. Alternatively, multiple commands can be executed sequentially using iTQL script files. The interpreter supports several command line options that make working with large numbers of queries easier. You can run the shell as a stand-alone application (packaged in a fully-self-contained executable JAR file), or invoke it directly via API calls. iTQL commands sent to the iTQL interpreter return results directly to the console, whereas iTQL commands sent via the communication methods listed above return answers as native Java objects (in the case of direct API calls) or in XML. You must have the correct version of JavaTM software installed in order to run Mulgara and the iTQL shell. You can check the version you have installed by typing at a command line: $ java -version Something similar to the following should display: java version "1.4.2_04" If the above does not display, add Note - You must use J2SE 1.4.2 or higher. Mulgara does not run on beta 2 or prior. How you start the iTQL shell depends on your platform. To start the iTQL shell from a:
Starting iTQL with the executable jar file allows you to pass arguments to the shell, changing the way iTQL operates. See the iTQL Shell Options section for more information about these arguments. After starting iTQL, a message similar to the following displays: iTQL Command Line Interface The last line is the iTQL prompt. This is where you issue iTQL commands. To display a list of iTQL commands: iTQL>help; To display detailed help for a particular command: iTQL>help command; Where The following example queries a model named iTQL>select $url $title Note - iTQL supports the The following is an example of submitting the above query to the iTQL shell. iTQL>select $url $title |
![]() |
||||
© 2001-2004 Tucana Technologies, Inc. Some rights reserved. © 2006 The Mulgara Project. Some rights reserved. |