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 TypeClassDescriptionclassJDOQL 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 TypeClassDescriptionclassAbstract representation of a Java-based query.classAbstract representation of a JDOQL query.classAbstract representation of a JPQL query used by DataNucleus.classAbstract representation of a stored procedure query.Fields in org.datanucleus.store.query declared as QueryModifier and TypeFieldDescriptionprotected QueryAbstractQueryResult.queryThe Query object.private QueryDefaultCandidateExtent.queryUnderlying query for getting the Extent.private QueryJDOQLSingleStringParser.queryThe JDOQL query to populate.private QueryJPQLSingleStringParser.queryThe JPQL query to populate.(package private) QueryQuery.SubqueryDefinition.queryMethods in org.datanucleus.store.query that return QueryMethods in org.datanucleus.store.query with parameters of type QueryModifier and TypeMethodDescriptionvoidQueryManager.addQueryResult(Query query, Map params, List<Object> results) Method to store the results for a query.voidQueryManagerImpl.addQueryResult(Query query, Map params, List<Object> results) voidQuery.addSubquery(Query sub, String variableDecl, String candidateExpr, Map paramMap) Method to add a subquery to this query.static StringQueryUtils.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 booleanQueryUtils.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 TypeMethodDescriptionvoidvoidvoidvoidvoidEvict the query from the results cache.voidEvict the query with the specified params from the results cache.voidvoiddefault voidMethod to pin the specified query in the cache, preventing garbage collection.default voidMethod to pin the specified query in the cache, preventing garbage collection.voidvoiddefault voidMethod to unpin the specified query from the cache, allowing garbage collection.default voidMethod 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 QueryJavaQueryInMemoryEvaluator.queryUnderlying "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 CollectionJDOQLInMemoryEvaluator.evaluateSubquery(Query query, QueryCompilation compilation, Collection candidates, Object outerCandidate) Method to evaluate a subquery of the query being evaluated.protected CollectionJPQLInMemoryEvaluator.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.