|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jpox.store.query.Query
org.jpox.store.query.AbstractJavaQuery
org.jpox.store.query.AbstractJPQLQuery
public abstract class AbstractJPQLQuery
Abstract representation of a JPQL query used by JPOX. The query can be specified via method calls, or via a single-string form.
Query,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jpox.store.query.Query |
|---|
Query.SubqueryDefinition |
| Field Summary |
|---|
| Fields inherited from class org.jpox.store.query.AbstractJavaQuery |
|---|
candidateCollection, candidateExtent, distinct, resultMetaData, rof, singleString, userDefinedScalarExpressions |
| Fields inherited from class org.jpox.store.query.Query |
|---|
BULK_DELETE, BULK_UPDATE, candidateClass, candidateClassName, explicitParameters, explicitVariables, extensions, filter, from, fromInclNo, grouping, having, ignoreCache, implicitParameters, imports, isCompiled, LOCALISER, om, ordering, parameterNames, parsedImports, queryResults, range, result, resultClass, resultClassName, SELECT, subclasses, subqueries, toExclNo, type, unique, unmodifiable, update |
| Constructor Summary | |
|---|---|
AbstractJPQLQuery(ObjectManager om)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getSingleStringQuery()
Method to take the defined parameters for the query and form a single string. |
protected long |
performDeletePersistentAll(java.util.Map parameters)
Execute the query to delete persistent objects. |
java.lang.Class |
resolveClassDeclaration(java.lang.String classDecl)
Utility to resolve the declaration to a particular class. |
| Methods inherited from class org.jpox.store.query.AbstractJavaQuery |
|---|
discardCompiled, getCandidateCollection, getCandidateExtent, getParsedImports, getResultSetMetaData, getUserDefinedScalarExpressions, registerScalarExpression, registerScalarExpressions, resultHasOnlyAggregates, setCandidates, setCandidates, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractJPQLQuery(ObjectManager om)
om - ObjectManager| Method Detail |
|---|
public java.lang.String getSingleStringQuery()
getSingleStringQuery in class AbstractJavaQueryprotected long performDeletePersistentAll(java.util.Map parameters)
performDeletePersistentAll in class Queryparameters - the Map containing all of the parameters.
public java.lang.Class resolveClassDeclaration(java.lang.String classDecl)
resolveClassDeclaration in class QueryclassDecl - The declaration
JPOXUserException - Thrown if the class cannot be resolved.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||