| Package | Description | 
|---|---|
| org.datanucleus.query.compiler | 
 Package handling the compilation of queries. 
 | 
| org.datanucleus.query.inmemory | 
 Package providing the evaluation of queries using an in-memory process with evaluators for JDOQL and JPQL. 
 | 
| org.datanucleus.store.query | 
 Package providing implementation of query language support for datastores. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected Map<String,QueryCompilation> | 
QueryCompilation.subqueryCompilations
Compilations of any subqueries, keyed by the subquery variable name. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
abstract QueryCompilation | 
JavaQueryCompiler.compile(Map parameters,
       Map subqueryMap)
Method to compile the query. 
 | 
QueryCompilation | 
JDOQLCompiler.compile(Map parameters,
       Map subqueryMap)
Method to compile the query, and return the compiled results. 
 | 
QueryCompilation | 
JPQLCompiler.compile(Map parameters,
       Map subqueryMap)
Method to compile the query, and return the compiled results. 
 | 
QueryCompilation | 
AbstractQueryCompilationCache.get(String queryKey)  | 
QueryCompilation | 
JavaxCacheQueryCompilationCache.get(String queryKey)  | 
QueryCompilation | 
QueryCompilationCache.get(String queryKey)
Accessor for a (generic) compilation from the cache. 
 | 
QueryCompilation | 
QueryCompilation.getCompilationForSubquery(String alias)
Accessor for the compilation for a subquery with the specified alias. 
 | 
QueryCompilation | 
AbstractQueryCompilationCache.put(String queryKey,
   QueryCompilation compilation)  | 
QueryCompilation | 
JavaxCacheQueryCompilationCache.put(String queryKey,
   QueryCompilation compilation)  | 
QueryCompilation | 
QueryCompilationCache.put(String queryKey,
   QueryCompilation compilation)
Method to put an object in the cache. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
QueryCompilation.addSubqueryCompilation(String alias,
                      QueryCompilation compilation)
Method to add the compilation for a subquery of this query. 
 | 
QueryCompilation | 
AbstractQueryCompilationCache.put(String queryKey,
   QueryCompilation compilation)  | 
QueryCompilation | 
JavaxCacheQueryCompilationCache.put(String queryKey,
   QueryCompilation compilation)  | 
QueryCompilation | 
QueryCompilationCache.put(String queryKey,
   QueryCompilation compilation)
Method to put an object in the cache. 
 | 
| Constructor and Description | 
|---|
NavigationNullCompilationOptimiser(QueryCompilation compilation,
                                  MetaDataManager mmgr,
                                  ClassLoaderResolver clr)  | 
VarThisCompilationOptimiser(QueryCompilation compilation,
                           MetaDataManager unused,
                           ClassLoaderResolver clr)  | 
| Modifier and Type | Field and Description | 
|---|---|
protected QueryCompilation | 
JavaQueryInMemoryEvaluator.compilation
Compilation of the underlying query, that we are evaluating. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected Collection | 
JDOQLInMemoryEvaluator.evaluateSubquery(Query query,
                QueryCompilation compilation,
                Collection candidates,
                Object outerCandidate)
Method to evaluate a subquery of the query being evaluated. 
 | 
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 | 
JPQLInMemoryEvaluator.evaluateSubquery(Query query,
                QueryCompilation compilation,
                Collection candidates,
                Object outerCandidate)
Method to evaluate a subquery of the query being evaluated. 
 | 
| Constructor and 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. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected QueryCompilation | 
Query.compilation
Query compilation (when using the generic query compiler). 
 | 
| Modifier and Type | Method and Description | 
|---|---|
QueryCompilation | 
Query.getCompilation()
Accessor for the query compilation. 
 | 
QueryCompilation | 
QueryManagerImpl.getQueryCompilationForQuery(String language,
                           String query)  | 
QueryCompilation | 
QueryManager.getQueryCompilationForQuery(String language,
                           String query)
Accessor for a Query compilation for the specified query and language. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
QueryManagerImpl.addQueryCompilation(String language,
                   String query,
                   QueryCompilation compilation)  | 
void | 
QueryManager.addQueryCompilation(String language,
                   String query,
                   QueryCompilation compilation)
Method to store the compilation for a query. 
 | 
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 subqueries 
 | 
protected void | 
AbstractJPQLQuery.compileSubqueries(Map<String,Query.SubqueryDefinition> subqueryMap,
                 QueryCompilation parentCompilation,
                 JavaQueryCompiler parentCompiler,
                 Map parameterValues)
Recursively compile the subqueries 
 | 
protected Symbol | 
Query.deepFindSymbolForParameterInCompilation(QueryCompilation compilation,
                                       Object paramKey)  | 
void | 
Query.setCompilation(QueryCompilation compilation)
Method to set the generic compilation for this query. 
 | 
Copyright © 2018. All rights reserved.