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 QueryStoreManager. newQuery(String language, ExecutionContext ec)Method to return a new query, for the specified language and ExecutionContext.QueryStoreManager. newQuery(String language, ExecutionContext ec, String queryString)Method to return a new query, for the specified language and ExecutionContext, using the specified query string.QueryStoreManager. 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 QueryStoreManager. 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 classFederatedJDOQLQueryJDOQL query that is federated across multiple datastoresMethods in org.datanucleus.store.federation that return Query Modifier and Type Method Description QueryFederatedQueryManagerImpl. newQuery(String language, ExecutionContext ec, Object query)Method to generate a new query using the passed query as basis.QueryFederatedStoreManager. newQuery(String language, ExecutionContext ec)QueryFederatedStoreManager. newQuery(String language, ExecutionContext ec, String queryString)QueryFederatedStoreManager. newQuery(String language, ExecutionContext ec, Query q)Methods in org.datanucleus.store.federation with parameters of type Query Modifier and Type Method Description QueryFederatedStoreManager. 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 classAbstractJavaQuery<T>Abstract representation of a Java-based query.classAbstractJDOQLQueryAbstract representation of a JDOQL query.classAbstractJPQLQueryAbstract representation of a JPQL query used by DataNucleus.classAbstractStoredProcedureQueryAbstract representation of a stored procedure query.Fields in org.datanucleus.store.query declared as Query Modifier and Type Field Description protected QueryAbstractQueryResult. queryThe Query object.Methods in org.datanucleus.store.query that return Query Modifier and Type Method Description QueryQuery.SubqueryDefinition. getQuery()Methods in org.datanucleus.store.query with parameters of type Query Modifier and Type Method Description voidQueryManager. 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.List<Object>QueryManager. getQueryResult(Query query, Map params)Accessor for the results for a query.List<Object>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 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 voidAbstractMapQueryResultsCache. evict(Query query)voidAbstractMapQueryResultsCache. evict(Query query, Map params)voidJavaxCacheQueryResultCache. evict(Query query)voidJavaxCacheQueryResultCache. evict(Query query, Map params)voidQueryResultsCache. evict(Query query)Evict the query from the results cache.voidQueryResultsCache. evict(Query query, Map params)Evict the query with the specified params from the results cache.voidAbstractMapQueryResultsCache. pin(Query query)voidAbstractMapQueryResultsCache. pin(Query query, Map params)default voidQueryResultsCache. pin(Query query)Method to pin the specified query in the cache, preventing garbage collection.default voidQueryResultsCache. pin(Query query, Map params)Method to pin the specified query in the cache, preventing garbage collection.voidAbstractMapQueryResultsCache. unpin(Query query)voidAbstractMapQueryResultsCache. unpin(Query query, Map params)default voidQueryResultsCache. unpin(Query query)Method to unpin the specified query from the cache, allowing garbage collection.default voidQueryResultsCache. 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 QueryJavaQueryInMemoryEvaluator. queryUnderlying "string-based" query.Methods in org.datanucleus.store.query.inmemory with parameters of type Query Modifier and Type Method Description protected abstract CollectionJavaQueryInMemoryEvaluator. evaluateSubquery(Query subquery, QueryCompilation compilation, Collection 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 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.
-