Uses of Class
org.datanucleus.store.query.Query
-
Packages that use Query Package Description org.datanucleus.store Package handling the storage of classes to the datastore, and the management of the datastore.org.datanucleus.store.federation Package providing management for federation of datastores.org.datanucleus.store.query Package providing query language support for datastores.org.datanucleus.store.query.cache Package providing definition of caching for queries.org.datanucleus.store.query.inmemory 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 Query Modifier and Type Method Description Query
StoreManager. newQuery(String language, ExecutionContext ec)
Method to return a new query, for the specified language and ExecutionContext.Query
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.Query
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 Query Modifier and Type Method Description Query
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. -
Uses of Query in org.datanucleus.store.federation
Subclasses of Query in org.datanucleus.store.federation Modifier and Type Class Description class
FederatedJDOQLQuery
JDOQL query that is federated across multiple datastoresMethods in org.datanucleus.store.federation that return Query Modifier and Type Method Description Query
FederatedQueryManagerImpl. newQuery(String language, ExecutionContext ec, Object query)
Method to generate a new query using the passed query as basis.Query
FederatedStoreManager. newQuery(String language, ExecutionContext ec)
Query
FederatedStoreManager. newQuery(String language, ExecutionContext ec, String queryString)
Query
FederatedStoreManager. newQuery(String language, ExecutionContext ec, Query q)
Methods in org.datanucleus.store.federation with parameters of type Query Modifier and Type Method Description Query
FederatedStoreManager. newQuery(String language, ExecutionContext ec, Query q)
-
Uses of Query in org.datanucleus.store.query
Subclasses of Query in org.datanucleus.store.query Modifier and Type Class Description class
AbstractJavaQuery<T>
Abstract representation of a Java-based query.class
AbstractJDOQLQuery
Abstract representation of a JDOQL query.class
AbstractJPQLQuery
Abstract representation of a JPQL query used by DataNucleus.class
AbstractStoredProcedureQuery
Abstract representation of a stored procedure query.Fields in org.datanucleus.store.query declared as Query Modifier and Type Field Description protected Query
AbstractQueryResult. query
The Query object.Methods in org.datanucleus.store.query that return Query Modifier and Type Method Description Query
Query.SubqueryDefinition. getQuery()
Methods in org.datanucleus.store.query with parameters of type Query Modifier and Type Method Description void
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.List<Object>
QueryManager. getQueryResult(Query query, Map params)
Accessor for the results for a query.List<Object>
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 Query Constructor Description AbstractQueryResult(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 Query Modifier and Type Method Description void
AbstractMapQueryResultsCache. evict(Query query)
void
AbstractMapQueryResultsCache. evict(Query query, Map params)
void
JavaxCacheQueryResultCache. evict(Query query)
void
JavaxCacheQueryResultCache. evict(Query query, Map params)
void
QueryResultsCache. evict(Query query)
Evict the query from the results cache.void
QueryResultsCache. evict(Query query, Map params)
Evict the query with the specified params from the results cache.void
AbstractMapQueryResultsCache. pin(Query query)
void
AbstractMapQueryResultsCache. pin(Query query, Map params)
default void
QueryResultsCache. pin(Query query)
Method to pin the specified query in the cache, preventing garbage collection.default void
QueryResultsCache. pin(Query query, Map params)
Method to pin the specified query in the cache, preventing garbage collection.void
AbstractMapQueryResultsCache. unpin(Query query)
void
AbstractMapQueryResultsCache. unpin(Query query, Map params)
default void
QueryResultsCache. unpin(Query query)
Method to unpin the specified query from the cache, allowing garbage collection.default void
QueryResultsCache. unpin(Query query, Map params)
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 Query Modifier and Type Field Description protected Query
JavaQueryInMemoryEvaluator. query
Underlying "string-based" query.Methods in org.datanucleus.store.query.inmemory with parameters of type Query Modifier and Type Method Description protected abstract Collection
JavaQueryInMemoryEvaluator. evaluateSubquery(Query subquery, QueryCompilation compilation, Collection 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 Query Constructor Description JavaQueryInMemoryEvaluator(String language, Query query, QueryCompilation compilation, Map parameterValues, ClassLoaderResolver clr, Collection 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.
-