Access Keys:
Skip to content (Access Key - 0)

Federated Query Processor

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (7)

View Page History
The Federated Query Engine allows the caller to specify parameters which control various aspects of query execution. This _QueryExecutionParameters_ data type has been designed to be flexible and extensible for future versions of the Federated Query Processor. For this version, it contains a child data type, _TargetDataServiceQueryBehavior_, which controls how the query engine handles various failure conditions when submitting CQL to the target data services specified in the DCQL query. This type contains three properties:

* _failOnFirstError_\*\* _Type:_ Boolean {note}If this property is set to *true*, the other two properties are meaningless.{note}
** {note}If this property is set to *true*, the other two properties are meaningless.{note}
** This property controls how the query engine handles failures while querying target data services.
** If set to *true*, the engine will terminate query processing and throw an exception when querying against any target data service fails for any reason. No query results will be returned.
[Details of the FQP Processing Status Listener interface|fqp14:FQPProcessingStatusListener]


h1. Federated Query Processor Client
----

The Federated Query Processor Client is the client-side API for communicating with the caGrid Federated Query Processor Service.

* public FederatedQueryProcessorClient(EndpointReferenceType epr, GlobusCredential proxy) throws MalformedURIException, RemoteException

The *url* parameter passed in the first two constructors is the URL of the Federated Query Processor Service you wish to connect to. The *epr* parameter in the last two constructors is an Endpoint Reference which resolves to the FQP service you wish to connect to. The *proxy* parameter is a Globus Credential Proxy which you may use to authenticate to and communicate securely with the FQP service. These constructors should look familiar to users of other [Introduce|introduce14:Home]\-generated caGrid services, since they are the standard client constructors.

h3. Connecting to a Secure FQP Service
{code:java}
public FederatedQueryResultsRetrievalClient queryAsynchronously(DCQLQuery query,
DelegatedCredentialReference delegatedCredentialReference,
QueryExecutionParameters queryExecutionParameters)
throws RemoteException, org.apache.axis.types.URI.MalformedURIException,
gov.nih.nci.cagrid.fqp.results.stubs.types.InternalErrorFault,
Last edited by
David Ervin (743 days ago) , ...
Adaptavist Theme Builder Powered by Atlassian Confluence