gov.nih.nci.cagrid.caarray.stubs.cql
Class CaArrayCQLQueryProcessor

java.lang.Object
  extended by gov.nih.nci.cagrid.data.cql.CQLQueryProcessor
      extended by gov.nih.nci.cagrid.caarray.stubs.cql.CaArrayCQLQueryProcessor

public class CaArrayCQLQueryProcessor
extends gov.nih.nci.cagrid.data.cql.CQLQueryProcessor

The actual CaArray CQL processing implementation. Handles remote EJB integration and converting the remote EJB API to the api expected by grid clients.


Field Summary
protected static org.apache.commons.logging.Log LOG
           
 
Constructor Summary
CaArrayCQLQueryProcessor()
           
 
Method Summary
protected  gov.nih.nci.cagrid.data.mapping.Mappings getClassToQnameMappings()
          Get xml mappings.
 gov.nih.nci.cagrid.cqlresultset.CQLQueryResults processQuery(gov.nih.nci.cagrid.cqlquery.CQLQuery cqlQuery)
           
protected  java.util.List<?> queryCaArrayService(gov.nih.nci.cagrid.cqlquery.CQLQuery cqlQuery)
          Call out to the remote EJB that actually processes the query.
 
Methods inherited from class gov.nih.nci.cagrid.data.cql.CQLQueryProcessor
getConfigurationUiClassname, getConfiguredParameters, getConfiguredWsddStream, getPropertiesFromEtc, getRequiredParameters, initialize
 
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

CaArrayCQLQueryProcessor

public CaArrayCQLQueryProcessor()
Method Detail

processQuery

public gov.nih.nci.cagrid.cqlresultset.CQLQueryResults processQuery(gov.nih.nci.cagrid.cqlquery.CQLQuery cqlQuery)
                                                             throws gov.nih.nci.cagrid.data.MalformedQueryException,
                                                                    gov.nih.nci.cagrid.data.QueryProcessingException
Specified by:
processQuery in class gov.nih.nci.cagrid.data.cql.CQLQueryProcessor
Throws:
gov.nih.nci.cagrid.data.MalformedQueryException
gov.nih.nci.cagrid.data.QueryProcessingException

queryCaArrayService

protected java.util.List<?> queryCaArrayService(gov.nih.nci.cagrid.cqlquery.CQLQuery cqlQuery)
Call out to the remote EJB that actually processes the query.

Parameters:
cqlQuery - query to run
Returns:
list of domain objects that match the query criteria

getClassToQnameMappings

protected gov.nih.nci.cagrid.data.mapping.Mappings getClassToQnameMappings()
                                                                    throws java.lang.Exception
Get xml mappings.

Returns:
xml mappings
Throws:
java.lang.Exception - on error