net.sf.farrago.test
Class LurqlQueryUdx
java.lang.Object
net.sf.farrago.test.LurqlQueryUdx
public abstract class LurqlQueryUdx
- extends Object
LurqlQueryUdx executes a LURQL query and returns the resulting collection as
a relational result set.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/test/LurqlQueryUdx.java#2 $
- Author:
- John V. Sichi
Method Summary |
static void |
queryMedMdr(String foreignServerName,
String lurql,
PreparedStatement resultInserter)
Executes a LURQL query, producing result columns as follows:
CLASS_NAME: class name of matching object
OBJ_NAME: name of matching object, or null if it lacks a "name"
attribute
MOF_ID: MOFID of matching object
OBJ_ATTRS: concatenation of attribute/value pairs defining matching
object
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LurqlQueryUdx
public LurqlQueryUdx()
queryMedMdr
public static void queryMedMdr(String foreignServerName,
String lurql,
PreparedStatement resultInserter)
throws Exception
- Executes a LURQL query, producing result columns as follows:
- CLASS_NAME: class name of matching object
- OBJ_NAME: name of matching object, or null if it lacks a "name"
attribute
- MOF_ID: MOFID of matching object
- OBJ_ATTRS: concatenation of attribute/value pairs defining matching
object
- Parameters:
foreignServerName
- name of predefined foreign server to use as
source; must be defined using the MDR foreign data wrapperlurql
- LURQL query to execute (may not contain parameters)resultInserter
- used to write results
- Throws:
Exception