gov.nih.nci.cagrid.data.sdk32query.experimental.hql313
Class HQL313CoreQueryProcessor

java.lang.Object
  extended by gov.nih.nci.cagrid.data.cql.CQLQueryProcessor
      extended by gov.nih.nci.cagrid.data.sdk32query.experimental.hql313.HQL313CoreQueryProcessor

public class HQL313CoreQueryProcessor
extends CQLQueryProcessor

HQL313CoreQueryProcessor CQL query processor working against the caCORE SDK v3.2, using HQL for Hibernate v3.1.3

Version:
$Id: HQL313CoreQueryProcessor.java,v 1.3 2007/04/23 19:44:54 dervin Exp $
Author:
David Ervin

Field Summary
static java.lang.String APPSERVICE_URL
           
static java.lang.String CASE_INSENSITIVE_QUERIES
           
static java.lang.String DEFAULT_CASE_INSENSITIVE
           
static java.lang.String USE_LOCAL_API
           
static java.lang.String USE_LOCAL_API_DEFAULT
           
 
Constructor Summary
HQL313CoreQueryProcessor()
           
 
Method Summary
 java.util.Properties getRequiredParameters()
          Get a Properties object of parameters the query processor will require on initialization.
 CQLQueryResults processQuery(CQLQuery cqlQuery)
          Processes the CQL Query
 
Methods inherited from class gov.nih.nci.cagrid.data.cql.CQLQueryProcessor
getConfigurationUiClassname, getConfiguredParameters, getConfiguredWsddStream, getPropertiesFromEtc, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPSERVICE_URL

public static final java.lang.String APPSERVICE_URL
See Also:
Constant Field Values

CASE_INSENSITIVE_QUERIES

public static final java.lang.String CASE_INSENSITIVE_QUERIES
See Also:
Constant Field Values

DEFAULT_CASE_INSENSITIVE

public static final java.lang.String DEFAULT_CASE_INSENSITIVE

USE_LOCAL_API

public static final java.lang.String USE_LOCAL_API
See Also:
Constant Field Values

USE_LOCAL_API_DEFAULT

public static final java.lang.String USE_LOCAL_API_DEFAULT
Constructor Detail

HQL313CoreQueryProcessor

public HQL313CoreQueryProcessor()
Method Detail

processQuery

public CQLQueryResults processQuery(CQLQuery cqlQuery)
                             throws MalformedQueryException,
                                    QueryProcessingException
Description copied from class: CQLQueryProcessor
Processes the CQL Query

Specified by:
processQuery in class CQLQueryProcessor
Returns:
The results of processing a CQL query
Throws:
MalformedQueryException - Should be thrown when the query itself does not conform to the CQL standard or attempts to perform queries outside of the exposed domain model
QueryProcessingException - Thrown for all exceptions in query processing not related to the query being malformed

getRequiredParameters

public java.util.Properties getRequiredParameters()
Description copied from class: CQLQueryProcessor
Get a Properties object of parameters the query processor will require on initialization. Subclasses can override this method to return a map describing paramters their implementation needs. The keys are the names of parameters the query processor requires, the values are the defaults for those properties. The default value of a property may be an empty string if it is an optional paramter. The keys MUST be valid java variable names. They MUST NOT contain spaces or punctuation. They may begin with an uppercase character.

Overrides:
getRequiredParameters in class CQLQueryProcessor
Returns:
The required properties for the query processor with their default values