Purpose:
This class represents a federated parametric query. The federated query object delegates the query processing task to each content server or to it's associated Enterprise Information Portal database.
Methods:
init(LPDISPATCH ds, LPCTSTR queryString);
This method must be called following the creation of a DXFederatedQueryFed object (except for methods returning a DXFederatedQueryFed object). The method initializes the query object with the datastore and query string. The input parameter LPDISPATCH pointer contains a DXDatastoreFed object.
LPDISPATCH datastore();
Gets the datastore. The returned LPDISPATCH pointer contains a DXDatastoreFed object.
short qlType();
BSTR queryString();
prepare([VARIANT params]);
Prepares the query. The optional parameter is in the form of an array of DXNVPairFed objects.
execute([VARIANT parms]);
Executes the query. The optional parameter is in the form of an array of DXNVPairFed objects.
long status();
VARIANT result();
Gets the result collection. The value of the VARIANT is DXResultsFed object.
LPDISPATCH resultSetCursor();
Gets the result set cursor. The returned LPDISPATCH pointer contains a DXResultSetCursorFed object.
long numberOfResults();
Gets the number of results.
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.