Uses of Class
org.datanucleus.store.query.Query
Packages that use Query
Package
Description
Package handling the storage of classes to the datastore, and the management of the datastore.
Package providing management for federation of datastores.
Package providing query language support for datastores.
Package providing definition of caching for queries.
Package providing the evaluation of queries using an in-memory process with evaluators for JDOQL and JPQL.
-
Uses of Query in org.datanucleus.store
Methods in org.datanucleus.store that return QueryModifier and TypeMethodDescriptionStoreManager.newQuery
(String language, ExecutionContext ec) Method to return a new query, for the specified language and ExecutionContext.StoreManager.newQuery
(String language, ExecutionContext ec, String queryString) Method to return a new query, for the specified language and ExecutionContext, using the specified query string.StoreManager.newQuery
(String language, ExecutionContext ec, Query q) Method to return a new query, for the specified language and ExecutionContext, using the specified existing query to copy from.Methods in org.datanucleus.store with parameters of type QueryModifier and TypeMethodDescriptionStoreManager.newQuery
(String language, ExecutionContext ec, Query q) Method to return a new query, for the specified language and ExecutionContext, using the specified existing query to copy from. -
Uses of Query in org.datanucleus.store.federation
Subclasses of Query in org.datanucleus.store.federationModifier and TypeClassDescriptionclass
JDOQL query that is federated across multiple datastoresMethods in org.datanucleus.store.federation that return QueryModifier and TypeMethodDescriptionFederatedQueryManagerImpl.newQuery
(String language, ExecutionContext ec, Object query) Method to generate a new query using the passed query as basis.FederatedStoreManager.newQuery
(String language, ExecutionContext ec) FederatedStoreManager.newQuery
(String language, ExecutionContext ec, String queryString) FederatedStoreManager.newQuery
(String language, ExecutionContext ec, Query q) Methods in org.datanucleus.store.federation with parameters of type QueryModifier and TypeMethodDescriptionFederatedStoreManager.newQuery
(String language, ExecutionContext ec, Query q) -
Uses of Query in org.datanucleus.store.query
Subclasses of Query in org.datanucleus.store.queryModifier and TypeClassDescriptionclass
Abstract representation of a Java-based query.class
Abstract representation of a JDOQL query.class
Abstract representation of a JPQL query used by DataNucleus.class
Abstract representation of a stored procedure query.Fields in org.datanucleus.store.query declared as QueryModifier and TypeFieldDescriptionprotected Query
AbstractQueryResult.query
The Query object.private Query
DefaultCandidateExtent.query
Underlying query for getting the Extent.private Query
JDOQLSingleStringParser.query
The JDOQL query to populate.private Query
JPQLSingleStringParser.query
The JPQL query to populate.(package private) Query
Query.SubqueryDefinition.query
Methods in org.datanucleus.store.query that return QueryMethods in org.datanucleus.store.query with parameters of type QueryModifier and TypeMethodDescriptionvoid
QueryManager.addQueryResult
(Query query, Map params, List<Object> results) Method to store the results for a query.void
QueryManagerImpl.addQueryResult
(Query query, Map params, List<Object> results) void
Query.addSubquery
(Query sub, String variableDecl, String candidateExpr, Map paramMap) Method to add a subquery to this query.static String
QueryUtils.getKeyForQueryResultsCache
(Query query, Map params) Convenience method to generate the "key" for storing the query results of a query with parameters.QueryManager.getQueryResult
(Query query, Map params) Accessor for the results for a query.QueryManagerImpl.getQueryResult
(Query query, Map params) static boolean
QueryUtils.queryReturnsSingleRow
(Query query) Convenience method to return whether the query should return a single row.Constructors in org.datanucleus.store.query with parameters of type QueryModifierConstructorDescriptionAbstractQueryResult
(Query query) Constructor of the result from a Query.CandidateIdsQueryResult
(Query query, List<Object> inputIds) JDOQLSingleStringParser
(Query query, String queryString) Constructor for the Single-String parser.JPQLSingleStringParser
(Query query, String queryString) Constructor for the Single-String parser.SubqueryDefinition
(Query q, String candidates, String variables, Map params) -
Uses of Query in org.datanucleus.store.query.cache
Methods in org.datanucleus.store.query.cache with parameters of type QueryModifier and TypeMethodDescriptionvoid
void
void
void
void
Evict the query from the results cache.void
Evict the query with the specified params from the results cache.void
void
default void
Method to pin the specified query in the cache, preventing garbage collection.default void
Method to pin the specified query in the cache, preventing garbage collection.void
void
default void
Method to unpin the specified query from the cache, allowing garbage collection.default void
Method to unpin the specified query from the cache, allowing garbage collection. -
Uses of Query in org.datanucleus.store.query.inmemory
Fields in org.datanucleus.store.query.inmemory declared as QueryModifier and TypeFieldDescriptionprotected Query
JavaQueryInMemoryEvaluator.query
Underlying "string-based" query.Methods in org.datanucleus.store.query.inmemory with parameters of type QueryModifier and TypeMethodDescriptionprotected abstract Collection
<Object> JavaQueryInMemoryEvaluator.evaluateSubquery
(Query subquery, QueryCompilation compilation, Collection<Object> candidates, Object outerCandidate) Method to evaluate a subquery of the query being evaluated.protected Collection
JDOQLInMemoryEvaluator.evaluateSubquery
(Query query, QueryCompilation compilation, Collection candidates, Object outerCandidate) Method to evaluate a subquery of the query being evaluated.protected Collection
JPQLInMemoryEvaluator.evaluateSubquery
(Query query, QueryCompilation compilation, Collection candidates, Object outerCandidate) Method to evaluate a subquery of the query being evaluated.Constructors in org.datanucleus.store.query.inmemory with parameters of type QueryModifierConstructorDescriptionJavaQueryInMemoryEvaluator
(String language, Query query, QueryCompilation compilation, Map<Object, Object> parameterValues, ClassLoaderResolver clr, Collection<Object> candidates) Constructor for the evaluator of a query in the specified language.JDOQLInMemoryEvaluator
(Query query, Collection candidates, QueryCompilation compilation, Map parameterValues, ClassLoaderResolver clr) Constructor.JPQLInMemoryEvaluator
(Query query, Collection candidates, QueryCompilation compilation, Map parameterValues, ClassLoaderResolver clr) Constructor.