public class JPQLQuery
extends org.datanucleus.store.query.AbstractJPQLQuery
| Modifier and Type | Field and Description |
|---|---|
protected MongoDBQueryCompilation |
datastoreCompilation
The compilation of the query for this datastore.
|
candidateCollection, singleStringBULK_DELETE, BULK_UPDATE, candidateClass, candidateClassName, clr, compilation, ec, explicitParameters, explicitVariables, EXTENSION_CHECK_UNUSED_PARAMETERS, EXTENSION_CLOSE_RESULTS_AT_EC_CLOSE, EXTENSION_COMPILATION_CACHED, EXTENSION_EVALUATE_IN_MEMORY, EXTENSION_EXCLUDE_SUBCLASSES, EXTENSION_FLUSH_BEFORE_EXECUTION, EXTENSION_JDOQL_STRICT, EXTENSION_JPQL_STRICT, EXTENSION_LOAD_RESULTS_AT_COMMIT, EXTENSION_MULTITHREAD, EXTENSION_RESULT_CACHE_TYPE, EXTENSION_RESULT_SIZE_METHOD, EXTENSION_RESULTS_CACHED, EXTENSION_USE_FETCH_PLAN, extensions, filter, from, fromInclNo, fromInclParam, grouping, having, ignoreCache, implicitParameters, imports, inputParameters, ordering, OTHER, parameterNames, parsedImports, queryResults, range, result, resultClass, resultClassName, resultDistinct, SELECT, storeMgr, subclasses, subqueries, tasks, toExclNo, toExclParam, type, unique, unmodifiable, update| Constructor and Description |
|---|
JPQLQuery(org.datanucleus.store.StoreManager storeMgr,
org.datanucleus.ExecutionContext ec)
Constructs a new query instance that uses the given execution context.
|
JPQLQuery(org.datanucleus.store.StoreManager storeMgr,
org.datanucleus.ExecutionContext ec,
JPQLQuery q)
Constructs a new query instance having the same criteria as the given query.
|
JPQLQuery(org.datanucleus.store.StoreManager storeMgr,
org.datanucleus.ExecutionContext ec,
String query)
Constructor for a JPQL query where the query is specified using the "Single-String" format.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
compileInternal(Map parameterValues)
Method to compile the JDOQL query.
|
protected void |
discardCompiled()
Utility to remove any previous compilation of this Query.
|
protected boolean |
evaluateInMemory()
Convenience method to return whether the query should be evaluated in-memory.
|
protected boolean |
isCompiled()
Method to return if the query is compiled.
|
protected Object |
performExecute(Map parameters) |
compileGeneric, compileSubqueries, getLanguage, getQueryCacheKey, getSingleStringQuery, resolveClassDeclaration, setResultdereferenceFilter, performDeletePersistentAll, setCandidates, setCandidates, toStringaddExtension, addSubquery, applyImplicitParameterValueToCompilation, applyImplicitParameterValueToSubqueries, assertIsModifiable, assertIsOpen, assertSupportsCancel, cancel, cancel, cancelTaskObject, checkForMissingParameters, checkParameterTypesAgainstCompilation, checkUnusedParameters, close, closeAll, compile, declareExplicitParameters, declareExplicitVariables, declareImports, deepFindSymbolForParameterInCompilation, deletePersistentAll, deletePersistentAll, deletePersistentAll, deregisterTask, equals, execute, executeQuery, executeWithArray, executeWithMap, executionContextClosing, getBooleanExtensionProperty, getCandidateClass, getCandidateClassMetaData, getCandidateClassName, getCompilation, getDatastoreReadTimeoutMillis, getDatastoreWriteTimeoutMillis, getExecutionContext, getExplicitParametersDeclaration, getExplicitVariablesDeclaration, getExtension, getExtensions, getFetchPlan, getFilter, getFrom, getGrouping, getHaving, getIgnoreCache, getImplicitParameters, getImportsDeclaration, getInputParameters, getNativeQuery, getOrdering, getParameterMapForValues, getParsedImports, getQueryManager, getRange, getRangeFromIncl, getRangeFromInclParam, getRangeToExcl, getRangeToExclParam, getResult, getResultClass, getResultClassName, getResultDistinct, getSerializeRead, getStoreManager, getStringExtensionProperty, getSubqueryForVariable, getSupportedExtensions, getType, getUpdate, hashCode, hasSubqueryForVariable, isSubclasses, isUnique, isUnmodifiable, prepareDatastore, processesRangeInDatastoreQuery, registerTask, setCacheResults, setCandidateClass, setCandidateClassName, setCompilation, setDatastoreReadTimeoutMillis, setDatastoreWriteTimeoutMillis, setExtensions, setFetchPlan, setFilter, setFrom, setGrouping, setHaving, setIgnoreCache, setImplicitParameter, setImplicitParameter, setOrdering, setRange, setRange, setResultClass, setResultClassName, setResultDistinct, setResultMetaData, setSerializeRead, setSubclasses, setType, setUnique, setUnmodifiable, setUpdate, shouldReturnSingleRow, supportsTimeout, useCaching, useFetchPlan, useResultsCachingprotected transient MongoDBQueryCompilation datastoreCompilation
public JPQLQuery(org.datanucleus.store.StoreManager storeMgr,
org.datanucleus.ExecutionContext ec)
storeMgr - StoreManager for this queryec - Execution Contextpublic JPQLQuery(org.datanucleus.store.StoreManager storeMgr,
org.datanucleus.ExecutionContext ec,
JPQLQuery q)
storeMgr - StoreManager for this queryec - Execution Contextq - The query from which to copy criteria.public JPQLQuery(org.datanucleus.store.StoreManager storeMgr,
org.datanucleus.ExecutionContext ec,
String query)
storeMgr - StoreManager for this queryec - Execution Contextquery - The query stringprotected void discardCompiled()
discardCompiled in class org.datanucleus.store.query.AbstractJavaQueryprotected boolean isCompiled()
isCompiled in class org.datanucleus.store.query.Queryprotected boolean evaluateInMemory()
evaluateInMemory in class org.datanucleus.store.query.AbstractJavaQueryprotected void compileInternal(Map parameterValues)
compileInternal in class org.datanucleus.store.query.AbstractJPQLQueryparameterValues - Map of param values keyed by param name (if available at compile time)Copyright © 2016. All rights reserved.