|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.kernel.AbstractStoreQuery.AbstractExecutor org.apache.openjpa.jdbc.kernel.SQLStoreQuery.SQLExecutor org.apache.openjpa.slice.jdbc.DistributedSQLStoreQuery.ParallelExecutor
public static class DistributedSQLStoreQuery.ParallelExecutor
Executes queries on multiple databases.
Constructor Summary | |
---|---|
DistributedSQLStoreQuery.ParallelExecutor(DistributedSQLStoreQuery dsq,
ClassMetaData meta,
boolean p)
|
Method Summary | |
---|---|
void |
addExecutor(StoreQuery.Executor ex)
|
(package private) boolean |
containsReplicated(QueryContext query)
Scans metadata to find out if a replicated class is the candidate. |
Number |
executeDelete(StoreQuery q,
Object[] params)
Deleted the objects that result from the execution of the query, retuning the number of objects that were deleted. |
ResultObjectProvider |
executeQuery(StoreQuery q,
Object[] params,
StoreQuery.Range range)
Each child query must be executed with slice context and not the given query context. |
Number |
executeUpdate(StoreQuery q,
Object[] params)
Updates the objects that result from the execution of the query, retuning the number of objects that were updated. |
(package private) List<SliceStoreManager> |
findTargets()
|
Methods inherited from class org.apache.openjpa.jdbc.kernel.SQLStoreQuery.SQLExecutor |
---|
executeQuery, executeUpdate, getDataStoreActions, getOperation, isPacking, prepareCall, prepareCall, prepareStatement, prepareStatement, toParameterArray |
Methods inherited from class org.apache.openjpa.kernel.AbstractStoreQuery.AbstractExecutor |
---|
getAccessPathMetaDatas, getAlias, getAscending, getOrderedParameterTypes, getOrderingValue, getParameterTypes, getProjectionAliases, getProjectionTypes, getQueryExpressions, getRange, getResultClass, getResultShape, getUpdates, hasGrouping, isAggregate, isDistinct, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DistributedSQLStoreQuery.ParallelExecutor(DistributedSQLStoreQuery dsq, ClassMetaData meta, boolean p)
Method Detail |
---|
public void addExecutor(StoreQuery.Executor ex)
public ResultObjectProvider executeQuery(StoreQuery q, Object[] params, StoreQuery.Range range)
executeQuery
in interface StoreQuery.Executor
executeQuery
in class SQLStoreQuery.SQLExecutor
StoreQuery.Executor.isPacking(org.apache.openjpa.kernel.StoreQuery)
boolean containsReplicated(QueryContext query)
public Number executeDelete(StoreQuery q, Object[] params)
StoreQuery.Executor
executeDelete
in interface StoreQuery.Executor
executeDelete
in class AbstractStoreQuery.AbstractExecutor
public Number executeUpdate(StoreQuery q, Object[] params)
StoreQuery.Executor
executeUpdate
in interface StoreQuery.Executor
executeUpdate
in class SQLStoreQuery.SQLExecutor
List<SliceStoreManager> findTargets()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |