gov.nih.nci.cagrid.data.sdk32query.experimental.directcql
Class DirectCQLQueryProcessor
java.lang.Object
gov.nih.nci.cagrid.data.cql.CQLQueryProcessor
gov.nih.nci.cagrid.data.sdk32query.experimental.directcql.DirectCQLQueryProcessor
public class DirectCQLQueryProcessor
- extends CQLQueryProcessor
DirectCQLQueryProcessor
An experiemental CQL implementation to query the application service with CQL
instead of conversion to HQL.
This implementation should NOT be used in a production environment as it is considered
experiemntal at this point!
- Version:
- $Id: DirectCQLQueryProcessor.java,v 1.1 2007/03/08 20:21:41 dervin Exp $
- Author:
- David W. Ervin *
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APPLICATION_SERVICE_URL
public static final java.lang.String APPLICATION_SERVICE_URL
- See Also:
- Constant Field Values
DirectCQLQueryProcessor
public DirectCQLQueryProcessor()
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