gov.nih.nci.cagrid.fqp.processor
Class DataServiceQueryExecutor

java.lang.Object
  extended by gov.nih.nci.cagrid.fqp.processor.DataServiceQueryExecutor

public class DataServiceQueryExecutor
extends java.lang.Object

Used to consistently contact remote data services.

Author:
oster

Field Summary
protected static org.apache.commons.logging.Log LOG
           
 
Constructor Summary
DataServiceQueryExecutor()
           
 
Method Summary
static CQLQueryResults queryDataService(CQLQuery cqlQuery, java.lang.String targetServiceURL)
          Executes the specified query against the specified service, properly handling remote exceptions.
static CQLQueryResults queryDataService(CQLQuery cqlQuery, java.lang.String targetServiceURL, org.globus.gsi.GlobusCredential cred)
          Executes the specified query against the specified service, properly handling remote exceptions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static org.apache.commons.logging.Log LOG
Constructor Detail

DataServiceQueryExecutor

public DataServiceQueryExecutor()
Method Detail

queryDataService

public static CQLQueryResults queryDataService(CQLQuery cqlQuery,
                                               java.lang.String targetServiceURL)
                                        throws RemoteDataServiceException
Executes the specified query against the specified service, properly handling remote exceptions.

Parameters:
cqlQuery -
targetServiceURL -
Returns:
The results of querying a the data service
Throws:
RemoteDataServiceException

queryDataService

public static CQLQueryResults queryDataService(CQLQuery cqlQuery,
                                               java.lang.String targetServiceURL,
                                               org.globus.gsi.GlobusCredential cred)
                                        throws RemoteDataServiceException
Executes the specified query against the specified service, properly handling remote exceptions.

Parameters:
cqlQuery -
targetServiceURL -
cred - The credentials to use to invoke the data service
Returns:
The results of querying a the data service
Throws:
RemoteDataServiceException