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

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

public class FederatedQueryEngine
extends java.lang.Object

Author:
Srini Akkala, Scott Oster

Field Summary
protected  org.globus.gsi.GlobusCredential cred
           
protected static org.apache.commons.logging.Log LOG
           
 
Constructor Summary
FederatedQueryEngine()
           
FederatedQueryEngine(org.globus.gsi.GlobusCredential cred)
           
 
Method Summary
 DCQLQueryResultsCollection execute(DCQLQuery dcqlQuery)
          Call Federated Query Processor, and send the generated CQLQuery to each targeted service, placing each results into a single DCQLQueryResults object.
 CQLQueryResults executeAndAggregateResults(DCQLQuery dcqlQuery)
          Call Federated Query Processor, and send the generated CQLQuery to each targeted service, aggregating the results into a single CQLQueryResults object.
 
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

cred

protected org.globus.gsi.GlobusCredential cred
Constructor Detail

FederatedQueryEngine

public FederatedQueryEngine()

FederatedQueryEngine

public FederatedQueryEngine(org.globus.gsi.GlobusCredential cred)
Method Detail

execute

public DCQLQueryResultsCollection execute(DCQLQuery dcqlQuery)
                                   throws FederatedQueryProcessingException
Call Federated Query Processor, and send the generated CQLQuery to each targeted service, placing each results into a single DCQLQueryResults object.

Parameters:
dcqlQuery -
Returns:
The results of executing the DCQL query
Throws:
FederatedQueryProcessingException

executeAndAggregateResults

public CQLQueryResults executeAndAggregateResults(DCQLQuery dcqlQuery)
                                           throws FederatedQueryProcessingException
Call Federated Query Processor, and send the generated CQLQuery to each targeted service, aggregating the results into a single CQLQueryResults object.

Parameters:
dcqlQuery -
Returns:
Aggregated results of the DCQL query
Throws:
FederatedQueryProcessingException