|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nci.cagrid.data.cql.cacore.CQL2HQL
public class CQL2HQL
CQL2HQL Translates a CQL query to Hibernate v3 HQL
| Field Summary | |
|---|---|
static java.lang.String |
TARGET_ALIAS
|
| Constructor Summary | |
|---|---|
CQL2HQL()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
translate(CQLQuery query,
boolean eliminateSubclasses,
boolean caseInsensitive)
Translates a CQL query into an HQL string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TARGET_ALIAS
| Constructor Detail |
|---|
public CQL2HQL()
| Method Detail |
|---|
public static java.lang.String translate(CQLQuery query,
boolean eliminateSubclasses,
boolean caseInsensitive)
throws QueryProcessingException
query - The CQL Query to translate into HQLeliminateSubclasses - A flag indicating that the query should be formulated to avoid
returning subclass instances of the targeted class.caseInsensitive - A flag indicating that the query should be made case insensitive
by converting all values to lowercase.
QueryProcessingException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||