Uses of Interface
javax.jdo.Query
Packages that use Query
-
Uses of Query in javax.jdo
Modifier and TypeMethodDescriptionQuery.datastoreReadTimeoutMillis
(Integer interval) Set the datastore read timeout (millis).Query.datastoreWriteTimeoutMillis
(Integer interval) Set the datastore write timeout (millis).Specify an extension for this query.Query.extensions
(Map values) Specify a map of extensions for this query.Set the filter for the query.Set the grouping expressions, optionally including a "having" clause.Query.ignoreCache
(boolean flag) Set whether we to ignore the cache with this query.Set the import statements to be used to identify the fully qualified name of variables or parameters.<T> Query
<T> PersistenceManager.newNamedQuery
(Class<T> cls, String queryName) Create a newQuery
with the given candidate class from a named query.PersistenceManager.newQuery()
Create a newQuery
with no elements.<T> Query
<T> Create a newQuery
specifying theClass
of the candidate instances.<T> Query
<T> Create a newQuery
with theClass
of the candidate instances and filter.<T> Query
<T> PersistenceManager.newQuery
(Class<T> cls, Collection<T> cln) Create a newQuery
with the candidateClass
andCollection
.<T> Query
<T> PersistenceManager.newQuery
(Class<T> cls, Collection<T> cln, String filter) Create a newQuery
with theClass
of the candidate instances, candidateCollection
, and filter.Create a newQuery
using elements from anotherQuery
.Create a Construct a new query instance using the specified String as the single-string representation of the query.Create a newQuery
using the specified language.<T> Query
<T> Create a newQuery
with theClass
of the candidate instances and candidateExtent
.<T> Query
<T> Create a newQuery
with the candidateExtent
and filter; the class is taken from theExtent
.Set the ordering specification for the resultCollection
.Query.parameters
(String parameters) Declare the list of parameters for query execution.Query.range
(long fromIncl, long toExcl) Set the range of results to return.Set the range of results to return.Set the result clause for the query.Query.saveAsNamedQuery
(String name) Save the query, as it is currently defined, as a named query under the specified name.Query.serializeRead
(Boolean serialize) Set whether we to lock all objects read by this query.Query.setNamedParameters
(Map<String, ?> namedParamMap) Method to set the named parameters on this query prior to execution.Query.setParameters
(Object... paramValues) Method to set the values of the numbered parameters on this query prior to execution.Add a subquery to this query.Query.subquery
(Query sub, String variableDeclaration, String candidateCollectionExpression, String parameter) Add a subquery to this query.Query.subquery
(Query sub, String variableDeclaration, String candidateCollectionExpression, String... parameters) Add a subquery to this query.Query.subquery
(Query sub, String variableDeclaration, String candidateCollectionExpression, Map parameters) Add a subquery to this query.Query.unmodifiable()
Set whether to make this query unmodifiable.Declare the unbound variables to be used in the query.Modifier and TypeMethodDescriptionvoid
Query.addSubquery
(Query sub, String variableDeclaration, String candidateCollectionExpression) Add a subquery to this query.void
Query.addSubquery
(Query sub, String variableDeclaration, String candidateCollectionExpression, String parameter) Add a subquery to this query.void
Query.addSubquery
(Query sub, String variableDeclaration, String candidateCollectionExpression, String... parameters) Add a subquery to this query.void
Query.addSubquery
(Query sub, String variableDeclaration, String candidateCollectionExpression, Map parameters) Add a subquery to this query.Add a subquery to this query.Query.subquery
(Query sub, String variableDeclaration, String candidateCollectionExpression, String parameter) Add a subquery to this query.Query.subquery
(Query sub, String variableDeclaration, String candidateCollectionExpression, String... parameters) Add a subquery to this query.Query.subquery
(Query sub, String variableDeclaration, String candidateCollectionExpression, Map parameters) Add a subquery to this query.