|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jdo.impl.jdoql.JDOQLQueryFactoryImpl
Implements the @link{QueryFactory} interface in order to implement a component which is capable to run together with JDO runtime.
| Constructor Summary | |
JDOQLQueryFactoryImpl()
|
|
| Method Summary | |
javax.jdo.Query |
newQuery(org.apache.jdo.pm.PersistenceManagerInternal pm)
Creates a new Query with no elements. |
javax.jdo.Query |
newQuery(org.apache.jdo.pm.PersistenceManagerInternal pm,
java.lang.Class cls)
Creates a new Query specifying the Class of
the candidate instances. |
javax.jdo.Query |
newQuery(org.apache.jdo.pm.PersistenceManagerInternal pm,
java.lang.Class cls,
java.util.Collection cln)
Creates a new Query with the candidate Class
and Collection. |
javax.jdo.Query |
newQuery(org.apache.jdo.pm.PersistenceManagerInternal pm,
java.lang.Class cls,
java.util.Collection cln,
java.lang.String filter)
Creates a new Query with the Class of the
candidate instances, candidate Collection, and filter. |
javax.jdo.Query |
newQuery(org.apache.jdo.pm.PersistenceManagerInternal pm,
java.lang.Class cls,
java.lang.String filter)
Creates a new Query with the Class of the
candidate instances and filter. |
javax.jdo.Query |
newQuery(org.apache.jdo.pm.PersistenceManagerInternal pm,
javax.jdo.Extent cln)
Creates a new Query with the Class of the
candidate instances and candidate Extent. |
javax.jdo.Query |
newQuery(org.apache.jdo.pm.PersistenceManagerInternal pm,
javax.jdo.Extent cln,
java.lang.String filter)
Creates a new Query with the
candidate Extent and filter; the class
is taken from the Extent. |
javax.jdo.Query |
newQuery(org.apache.jdo.pm.PersistenceManagerInternal pm,
java.lang.Object compiled)
Creates a new Query using elements from another
Query. |
QueryTree |
newTree()
Returns a new QueryTree instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JDOQLQueryFactoryImpl()
| Method Detail |
public QueryTree newTree()
QueryTree and
ExpressionFactory) rather than as
JDOQL strings. To run you create a query object from the QueryTree (see
PersistenceManager.newQuery(Object compiled))
and call the execute method on the Query object.
newTree in interface JDOQLQueryFactorypublic javax.jdo.Query newQuery(org.apache.jdo.pm.PersistenceManagerInternal pm)
JDOQLQueryFactoryQuery with no elements.
newQuery in interface JDOQLQueryFactorypm - the persistence manager for the new query.
It is the responsibility of the caller to check that the persistence
manager is valid.
Query.
public javax.jdo.Query newQuery(org.apache.jdo.pm.PersistenceManagerInternal pm,
java.lang.Object compiled)
JDOQLQueryFactoryQuery using elements from another
Query. The other Query must have been created
by the same JDO implementation. It might be active in a different
PersistenceManager or might have been serialized and
restored.
All of the settings of the other Query are copied to
this Query, except for the candidate
Collection or Extent.
newQuery in interface JDOQLQueryFactorypm - the persistence manager for the new query.
It is the responsibility of the caller to check that the persistence
manager is valid.compiled - another Query from the same JDO
implementation.
Query.
public javax.jdo.Query newQuery(org.apache.jdo.pm.PersistenceManagerInternal pm,
java.lang.Class cls)
JDOQLQueryFactoryQuery specifying the Class of
the candidate instances.
newQuery in interface JDOQLQueryFactorypm - the persistence manager for the new query.
It is the responsibility of the caller to check that the persistence
manager is valid.cls - the Class of the candidate instances.
Query.
public javax.jdo.Query newQuery(org.apache.jdo.pm.PersistenceManagerInternal pm,
javax.jdo.Extent cln)
JDOQLQueryFactoryQuery with the Class of the
candidate instances and candidate Extent.
newQuery in interface JDOQLQueryFactorypm - the persistence manager for the new query.
It is the responsibility of the caller to check that the persistence
manager is valid.cln - the Extent of candidate instances.
Query.
public javax.jdo.Query newQuery(org.apache.jdo.pm.PersistenceManagerInternal pm,
java.lang.Class cls,
java.util.Collection cln)
JDOQLQueryFactoryQuery with the candidate Class
and Collection.
newQuery in interface JDOQLQueryFactorypm - the persistence manager for the new query.
It is the responsibility of the caller to check that the persistence
manager is valid.cls - the Class of results.cln - the Collection of candidate instances.
Query.
public javax.jdo.Query newQuery(org.apache.jdo.pm.PersistenceManagerInternal pm,
java.lang.Class cls,
java.lang.String filter)
JDOQLQueryFactoryQuery with the Class of the
candidate instances and filter.
newQuery in interface JDOQLQueryFactorypm - the persistence manager for the new query.
It is the responsibility of the caller to check that the persistence
manager is valid.cls - the Class of results.filter - the filter for candidate instances.
Query.
public javax.jdo.Query newQuery(org.apache.jdo.pm.PersistenceManagerInternal pm,
java.lang.Class cls,
java.util.Collection cln,
java.lang.String filter)
JDOQLQueryFactoryQuery with the Class of the
candidate instances, candidate Collection, and filter.
newQuery in interface JDOQLQueryFactorypm - the persistence manager for the new query.
It is the responsibility of the caller to check that the persistence
manager is valid.cls - the Class of candidate instances.cln - the Collection of candidate instances.filter - the filter for candidate instances.
Query.
public javax.jdo.Query newQuery(org.apache.jdo.pm.PersistenceManagerInternal pm,
javax.jdo.Extent cln,
java.lang.String filter)
JDOQLQueryFactoryQuery with the
candidate Extent and filter; the class
is taken from the Extent.
newQuery in interface JDOQLQueryFactorypm - the persistence manager for the new query.
It is the responsibility of the caller to check that the persistence
manager is valid.cln - the Extent of candidate instances.filter - the filter for candidate instances.
Query.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||