com.softwareag.xtools.quip.xqueryAPI
Class QMachineConnection
java.lang.Object
|
+--com.softwareag.xtools.quip.xqueryAPI.QMachineConnection
- All Implemented Interfaces:
- Connection
- public class QMachineConnection
- extends Object
- implements Connection
A Connection for the QMachine.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QMachineConnection
public QMachineConnection(String url,
Properties info)
- Constructor.
The URL is either a Tamino URL or a filesystem URL, which specifies
the source for the data.
The properties can contain:
"qmachinecmd" --> path to qmachine.exe
"qmachineoptions" --> additional options for qmachine.exe
"home" --> additional home directory
executeQuery
public QueryResult executeQuery(String query)
throws XQueryException
- Executes a query using quip.
- Specified by:
executeQuery in interface Connection
- Parameters:
query - the query to execute- Returns:
- returns the result of the query
- Throws:
XQueryException - if an error occurs during query execution
Copyright (c) 2001 Software AG. All Rights Reserved.