gov.nih.nci.cagrid.data.cql.cacore
Class HQLCoreQueryProcessor
java.lang.Object
gov.nih.nci.cagrid.data.cql.CQLQueryProcessor
gov.nih.nci.cagrid.data.cql.cacore.HQLCoreQueryProcessor
public class HQLCoreQueryProcessor
- extends CQLQueryProcessor
HQLCoreQueryProcessor
Implementation of CQL against a caCORE data source using HQL queries
- Version:
- $Id$
- Author:
- David W. Ervin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_LOCALHOST_CACORE_URL
public static final java.lang.String DEFAULT_LOCALHOST_CACORE_URL
- See Also:
- Constant Field Values
APPLICATION_SERVICE_URL
public static final java.lang.String APPLICATION_SERVICE_URL
- See Also:
- Constant Field Values
USE_CSM_FLAG
public static final java.lang.String USE_CSM_FLAG
- See Also:
- Constant Field Values
DEFAULT_USE_CSM_FLAG
public static final java.lang.String DEFAULT_USE_CSM_FLAG
CSM_CONTEXT_NAME
public static final java.lang.String CSM_CONTEXT_NAME
- See Also:
- Constant Field Values
CASE_INSENSITIVE_QUERYING
public static final java.lang.String CASE_INSENSITIVE_QUERYING
- See Also:
- Constant Field Values
USE_CASE_INSENSITIVE_DEFAULT
public static final java.lang.String USE_CASE_INSENSITIVE_DEFAULT
HQLCoreQueryProcessor
public HQLCoreQueryProcessor()
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
queryCoreService
protected java.util.List queryCoreService(CQLQuery query)
throws MalformedQueryException,
QueryProcessingException
- Throws:
MalformedQueryException
QueryProcessingException
getConfigurationUiClassname
public java.lang.String getConfigurationUiClassname()
- Description copied from class:
CQLQueryProcessor
- Get the classname of the configuration user interface for
this CQL Query Processor. This class should exist in the same
JAR as the query processor, as well as any (non-java / caGrid)
classes it depends on. This class MUST
implement the abstract base class
gov.nih.nci.cagrid.data.cql.ui.CQLQueryProcessorConfigUI
- Overrides:
getConfigurationUiClassname in class CQLQueryProcessor
- Returns:
- The class name of the configuration user interface,
or
null if no UI is provided
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