Package | Description |
---|---|
org.datanucleus.cache |
This package provides classes implementing caching within DataNucleus.
|
org.datanucleus.query |
This package provides general classes for querying across all datastores in particular languages.
|
org.datanucleus.query.evaluator |
Package providing the basis for evaluation of a string-based query.
|
org.datanucleus.store.federation |
Package providing management for federation of datastores.
|
org.datanucleus.store.query |
Package providing implementation of query language support for datastores.
|
org.datanucleus.store.query.cache |
Package providing definition of caching for queries.
|
Modifier and Type | Method and Description |
---|---|
void |
JavaxCacheQueryResultCache.evict(Query query) |
void |
JavaxCacheQueryResultCache.evict(Query query,
Map params) |
void |
JavaxCacheQueryResultCache.pin(Query query) |
void |
JavaxCacheQueryResultCache.pin(Query query,
Map params) |
void |
JavaxCacheQueryResultCache.unpin(Query query) |
void |
JavaxCacheQueryResultCache.unpin(Query query,
Map params) |
Modifier and Type | Method and Description |
---|---|
static String |
QueryUtils.getKeyForQueryResultsCache(Query query,
Map params)
Convenience method to generate the "key" for storing the query results of a query with parameters.
|
static boolean |
QueryUtils.queryReturnsSingleRow(Query query)
Convenience method to return whether the query should return a single row.
|
Constructor and Description |
---|
JDOQLSingleStringParser(Query query,
String queryString)
Constructor for the Single-String parser.
|
JPQLSingleStringParser(Query query,
String queryString)
Constructor for the Single-String parser.
|
Modifier and Type | Field and Description |
---|---|
protected Query |
JavaQueryEvaluator.query
Underlying "string-based" query.
|
Modifier and Type | Method and Description |
---|---|
protected Collection |
JDOQLEvaluator.evaluateSubquery(Query query,
QueryCompilation compilation,
Collection candidates,
Object outerCandidate)
Method to evaluate a subquery of the query being evaluated.
|
protected Collection |
JPQLEvaluator.evaluateSubquery(Query query,
QueryCompilation compilation,
Collection candidates,
Object outerCandidate)
Method to evaluate a subquery of the query being evaluated.
|
protected abstract Collection |
JavaQueryEvaluator.evaluateSubquery(Query subquery,
QueryCompilation compilation,
Collection candidates,
Object outerCandidate)
Method to evaluate a subquery of the query being evaluated.
|
Constructor and Description |
---|
JavaQueryEvaluator(String language,
Query query,
QueryCompilation compilation,
Map parameterValues,
ClassLoaderResolver clr,
Collection candidates)
Constructor for the evaluator of a query in the specified language.
|
JDOQLEvaluator(Query query,
Collection candidates,
QueryCompilation compilation,
Map parameterValues,
ClassLoaderResolver clr)
Constructor.
|
JPQLEvaluator(Query query,
Collection candidates,
QueryCompilation compilation,
Map parameterValues,
ClassLoaderResolver clr)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
FederatedJDOQLQuery
JDOQL query that is federated across multiple datastores
|
Modifier and Type | Method and Description |
---|---|
Query |
FederatedQueryManagerImpl.newQuery(String language,
ExecutionContext ec,
Object query)
Method to generate a new query using the passed query as basis.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Field and Description |
---|---|
protected Query |
AbstractQueryResult.query
The Query object.
|
Modifier and Type | Method and Description |
---|---|
Query |
Query.SubqueryDefinition.getQuery() |
Query |
QueryManagerImpl.newQuery(String language,
ExecutionContext ec,
Object query) |
Query |
QueryManager.newQuery(String language,
ExecutionContext ec,
Object query)
Method to generate a new query using the passed query as basis.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryManagerImpl.addQueryResult(Query query,
Map params,
List<Object> results) |
void |
QueryManager.addQueryResult(Query query,
Map params,
List<Object> results)
Method to store the results for a query.
|
void |
Query.addSubquery(Query sub,
String variableDecl,
String candidateExpr,
Map paramMap)
Method to add a subquery to this query.
|
List<Object> |
QueryManagerImpl.getQueryResult(Query query,
Map params) |
List<Object> |
QueryManager.getQueryResult(Query query,
Map params)
Accessor for the results for a query.
|
Constructor and Description |
---|
AbstractQueryResult(Query query)
Constructor of the result from a Query.
|
CandidateIdsQueryResult(Query query,
List<Object> ids) |
SubqueryDefinition(Query q,
String candidates,
String variables,
Map params) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractQueryResultsCache.evict(Query query) |
void |
QueryResultsCache.evict(Query query)
Evict the query from the results cache.
|
void |
AbstractQueryResultsCache.evict(Query query,
Map params) |
void |
QueryResultsCache.evict(Query query,
Map params)
Evict the query with the specified params from the results cache.
|
void |
AbstractQueryResultsCache.pin(Query query) |
void |
QueryResultsCache.pin(Query query)
Method to pin the specified query in the cache, preventing garbage collection.
|
void |
AbstractQueryResultsCache.pin(Query query,
Map params) |
void |
QueryResultsCache.pin(Query query,
Map params)
Method to pin the specified query in the cache, preventing garbage collection.
|
void |
AbstractQueryResultsCache.unpin(Query query) |
void |
QueryResultsCache.unpin(Query query)
Method to unpin the specified query from the cache, allowing garbage collection.
|
void |
AbstractQueryResultsCache.unpin(Query query,
Map params) |
void |
QueryResultsCache.unpin(Query query,
Map params)
Method to unpin the specified query from the cache, allowing garbage collection.
|
Copyright © 2017. All rights reserved.