Package org.datanucleus.store.federation
Class FederatedJDOQLQuery
- java.lang.Object
- 
- org.datanucleus.store.query.Query<T>
- 
- org.datanucleus.store.query.AbstractJavaQuery
- 
- org.datanucleus.store.query.AbstractJDOQLQuery
- 
- org.datanucleus.store.federation.FederatedJDOQLQuery
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- ExecutionContextListener
 
 public class FederatedJDOQLQuery extends AbstractJDOQLQuery JDOQL query that is federated across multiple datastores- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.datanucleus.store.query.QueryQuery.QueryType, Query.SubqueryDefinition
 
- 
 - 
Field Summary- 
Fields inherited from class org.datanucleus.store.query.AbstractJavaQuerycandidateCollection, singleString
 - 
Fields inherited from class org.datanucleus.store.query.QuerycandidateClass, candidateClassName, clr, compilation, ec, explicitParameters, explicitVariables, EXTENSION_CHECK_UNUSED_PARAMETERS, EXTENSION_CLOSE_RESULTS_AT_EC_CLOSE, EXTENSION_COMPILATION_CACHED, EXTENSION_COMPILE_OPTIMISE_VAR_THIS, EXTENSION_EVALUATE_IN_MEMORY, EXTENSION_EXCLUDE_SUBCLASSES, EXTENSION_FLUSH_BEFORE_EXECUTION, EXTENSION_JDOQL_ALLOW_ALL, EXTENSION_JDOQL_STRICT, EXTENSION_JPQL_ALLOW_RANGE, EXTENSION_JPQL_STRICT, EXTENSION_LOAD_RESULTS_AT_COMMIT, EXTENSION_QUERY_TYPE, EXTENSION_RESULT_CACHE_TYPE, EXTENSION_RESULT_CACHE_VALIDATE_OBJECTS, EXTENSION_RESULT_SIZE_METHOD, EXTENSION_RESULTS_CACHED, EXTENSION_SQL_ALLOW_ALL, EXTENSION_SQL_SYNTAX_CHECKS, EXTENSION_UPDATE_ALL_CANDIDATE_FIELDS, EXTENSION_USE_FETCH_PLAN, extensions, filter, from, fromInclNo, fromInclParam, grouping, having, ignoreCache, implicitParameters, imports, inputParameters, insertFields, insertSelectQuery, ordering, parameterNames, parsedImports, queryResults, range, result, resultClass, resultClassName, resultDistinct, storeMgr, subclasses, subqueries, tasks, toExclNo, toExclParam, type, unique, unmodifiable, update
 
- 
 - 
Constructor SummaryConstructors Constructor Description FederatedJDOQLQuery(StoreManager storeMgr, ExecutionContext ec)Constructs a new query instance that uses the given execution context.FederatedJDOQLQuery(StoreManager storeMgr, ExecutionContext ec, String query)Constructor for a JDOQL query where the query is specified using the "Single-String" format.FederatedJDOQLQuery(StoreManager storeMgr, ExecutionContext ec, FederatedJDOQLQuery q)Constructs a new query instance having the same criteria as the given query.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ObjectperformExecute(Map parameters)Method to actually execute the query.- 
Methods inherited from class org.datanucleus.store.query.AbstractJDOQLQuerycompileGeneric, compileInternal, compileSubqueries, getLanguage, getQueryCacheKey, getSingleStringQuery, getSupportedExtensions, setGrouping, setResult
 - 
Methods inherited from class org.datanucleus.store.query.AbstractJavaQuerydereferenceFilter, discardCompiled, evaluateInMemory, performDeletePersistentAll, setCandidates, setCandidates, toString
 - 
Methods inherited from class org.datanucleus.store.query.QueryaddExtension, 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, getInsertFields, getInsertSelectQuery, getNativeQuery, getOrdering, getParameterMapForValues, getParsedImports, getQueryManager, getRange, getRangeFromIncl, getRangeFromInclParam, getRangeToExcl, getRangeToExclParam, getResult, getResultClass, getResultClassName, getResultDistinct, getSerializeRead, getStoreManager, getStringExtensionProperty, getSubqueryForVariable, getType, getUpdate, hashCode, hasSubqueryForVariable, isCompiled, isSubclasses, isUnique, isUnmodifiable, prepareDatastore, processesRangeInDatastoreQuery, registerTask, resolveClassDeclaration, setCacheResults, setCandidateClass, setCandidateClassName, setCompilation, setDatastoreReadTimeoutMillis, setDatastoreWriteTimeoutMillis, setExtensions, setFetchPlan, setFilter, setFrom, setHaving, setIgnoreCache, setImplicitParameter, setImplicitParameter, setInsertFields, setInsertSelectQuery, setOrdering, setRange, setRange, setResultClass, setResultClassName, setResultDistinct, setResultMetaData, setSerializeRead, setSubclasses, setType, setUnique, setUnmodifiable, setUpdate, shouldReturnSingleRow, supportsTimeout, useCaching, useFetchPlan, useResultsCaching
 
- 
 
- 
- 
- 
Constructor Detail- 
FederatedJDOQLQuerypublic FederatedJDOQLQuery(StoreManager storeMgr, ExecutionContext ec) Constructs a new query instance that uses the given execution context.- Parameters:
- storeMgr- StoreManager for this query
- ec- execution context
 
 - 
FederatedJDOQLQuerypublic FederatedJDOQLQuery(StoreManager storeMgr, ExecutionContext ec, FederatedJDOQLQuery q) Constructs a new query instance having the same criteria as the given query.- Parameters:
- storeMgr- StoreManager for this query
- ec- execution context
- q- The query from which to copy criteria.
 
 - 
FederatedJDOQLQuerypublic FederatedJDOQLQuery(StoreManager storeMgr, ExecutionContext ec, String query) Constructor for a JDOQL query where the query is specified using the "Single-String" format.- Parameters:
- storeMgr- StoreManager for this query
- ec- execution context
- query- The query string
 
 
- 
 - 
Method Detail- 
performExecuteprotected Object performExecute(Map parameters) Description copied from class:QueryMethod to actually execute the query. To be implemented by extending classes for the particular query language.- Specified by:
- performExecutein class- Query
- Parameters:
- parameters- Map containing the parameters.
- Returns:
- Query result - QueryResult if SELECT, or Long if BULK_UPDATE, BULK_DELETE
 
 
- 
 
-