gov.nih.nci.cagrid.data.sdk32query.experimental.directcql
Class CQL2CoreCQL

java.lang.Object
  extended by gov.nih.nci.cagrid.data.sdk32query.experimental.directcql.CQL2CoreCQL

public class CQL2CoreCQL
extends java.lang.Object

CQL2CoreCQL Utility to convert caGrid's authoritative CQL (schema based, registered, widely used, documented) to the caCORE version of CQL.

Version:
$Id: CQL2CoreCQL.java,v 1.1 2007/03/08 20:21:41 dervin Exp $
Author:
David W. Ervin *

Constructor Summary
CQL2CoreCQL()
           
 
Method Summary
static CQLQuery convert(CQLQuery query)
          Converts caGrid CQL to caCORE CQL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CQL2CoreCQL

public CQL2CoreCQL()
Method Detail

convert

public static CQLQuery convert(CQLQuery query)
                        throws QueryProcessingException
Converts caGrid CQL to caCORE CQL. Since the caCORE CQL is based on an outdated and unreleased version of the caGrid CQL schema, query modifiers are not directly supported and will cause a QueryProcessingException to be thrown. QueryModifiers may be implemented with post-processing of the query result list.

Parameters:
query - The query to convert
Returns:
The converted query
Throws:
QueryProcessingException