Uses of Class
org.datanucleus.store.query.compiler.QueryCompilation
Packages that use QueryCompilation
Package
Description
Package providing query language support for datastores.
Package providing definition of caching for queries.
Package handling the (generic) compilation of queries.
Package providing the evaluation of queries using an in-memory process with evaluators for JDOQL and JPQL.
-
Uses of QueryCompilation in org.datanucleus.store.query
Fields in org.datanucleus.store.query declared as QueryCompilationModifier and TypeFieldDescriptionprotected QueryCompilation
Query.compilation
Query compilation (when using the generic query compiler).Methods in org.datanucleus.store.query that return QueryCompilationModifier and TypeMethodDescriptionQuery.getCompilation()
Accessor for the query compilation.QueryManager.getQueryCompilationForQuery
(String language, String query) Accessor for a Query compilation for the specified query and language.QueryManagerImpl.getQueryCompilationForQuery
(String language, String query) Methods in org.datanucleus.store.query with parameters of type QueryCompilationModifier and TypeMethodDescriptionvoid
QueryManager.addQueryCompilation
(String language, String query, QueryCompilation compilation) Method to store the compilation for a query.void
QueryManagerImpl.addQueryCompilation
(String language, String query, QueryCompilation compilation) protected boolean
Query.applyImplicitParameterValueToSubqueries
(String name, Object value, QueryCompilation comp) protected void
AbstractJDOQLQuery.compileSubqueries
(Map<String, Query.SubqueryDefinition> subqueryMap, QueryCompilation parentCompilation, JavaQueryCompiler parentCompiler, Map parameterValues) Recursively compile the subqueriesprotected void
AbstractJPQLQuery.compileSubqueries
(Map<String, Query.SubqueryDefinition> subqueryMap, QueryCompilation parentCompilation, JavaQueryCompiler parentCompiler, Map parameterValues) Recursively compile the subqueriesprotected Symbol
Query.deepFindSymbolForParameterInCompilation
(QueryCompilation compilation, Object paramKey) private Symbol
Query.getSymbolForParameterInCompilation
(QueryCompilation compilation, Object paramKey) Convenience method to find a symbol for the specified parameter in the provided compilation.void
Query.setCompilation
(QueryCompilation compilation) Method to set the generic compilation for this query. -
Uses of QueryCompilation in org.datanucleus.store.query.cache
Fields in org.datanucleus.store.query.cache with type parameters of type QueryCompilationModifier and TypeFieldDescription(package private) Map
<String, QueryCompilation> AbstractQueryCompilationCache.cache
private javax.cache.Cache
<String, QueryCompilation> JavaxCacheQueryCompilationCache.cache
The cache to use.Methods in org.datanucleus.store.query.cache that return QueryCompilationModifier and TypeMethodDescriptionAccessor for a (generic) compilation from the cache.AbstractQueryCompilationCache.put
(String queryKey, QueryCompilation compilation) JavaxCacheQueryCompilationCache.put
(String queryKey, QueryCompilation compilation) QueryCompilationCache.put
(String queryKey, QueryCompilation compilation) Method to put an object in the cache.Methods in org.datanucleus.store.query.cache with parameters of type QueryCompilationModifier and TypeMethodDescriptionAbstractQueryCompilationCache.put
(String queryKey, QueryCompilation compilation) JavaxCacheQueryCompilationCache.put
(String queryKey, QueryCompilation compilation) QueryCompilationCache.put
(String queryKey, QueryCompilation compilation) Method to put an object in the cache. -
Uses of QueryCompilation in org.datanucleus.store.query.compiler
Fields in org.datanucleus.store.query.compiler declared as QueryCompilationModifier and TypeFieldDescription(package private) QueryCompilation
NavigationNullCompilationOptimiser.compilation
The compilation that we are optimising.(package private) QueryCompilation
VarThisCompilationOptimiser.compilation
The compilation that we are optimising.Fields in org.datanucleus.store.query.compiler with type parameters of type QueryCompilationModifier and TypeFieldDescriptionprotected Map
<String, QueryCompilation> QueryCompilation.subqueryCompilations
Compilations of any subqueries, keyed by the subquery variable name.Methods in org.datanucleus.store.query.compiler that return QueryCompilationModifier and TypeMethodDescriptionabstract QueryCompilation
Method to compile the query.Method to compile the query, and return the compiled results.Method to compile the query, and return the compiled results.QueryCompilation.getCompilationForSubquery
(String alias) Accessor for the compilation for a subquery with the specified alias.Methods in org.datanucleus.store.query.compiler with parameters of type QueryCompilationModifier and TypeMethodDescriptionvoid
QueryCompilation.addSubqueryCompilation
(String alias, QueryCompilation compilation) Method to add the compilation for a subquery of this query.Constructors in org.datanucleus.store.query.compiler with parameters of type QueryCompilationModifierConstructorDescriptionNavigationNullCompilationOptimiser
(QueryCompilation compilation, MetaDataManager mmgr, ClassLoaderResolver clr) VarThisCompilationOptimiser
(QueryCompilation compilation, MetaDataManager unused, ClassLoaderResolver clr) -
Uses of QueryCompilation in org.datanucleus.store.query.inmemory
Fields in org.datanucleus.store.query.inmemory declared as QueryCompilationModifier and TypeFieldDescriptionprotected QueryCompilation
JavaQueryInMemoryEvaluator.compilation
Compilation of the underlying query, that we are evaluating.Methods in org.datanucleus.store.query.inmemory with parameters of type QueryCompilationModifier 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 QueryCompilationModifierConstructorDescriptionJavaQueryInMemoryEvaluator
(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.