public static class DistributedStoreQuery.ParallelExecutor extends ExpressionStoreQuery.DataStoreExecutor
| Constructor and Description |
|---|
DistributedStoreQuery.ParallelExecutor(DistributedStoreQuery dsq,
ClassMetaData meta,
boolean subclasses,
ExpressionParser parser,
Object parsed,
boolean parallel) |
| Modifier and Type | Method and Description |
|---|---|
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() |
getDataStoreActions, getOrderingValue, getProjectionTypes, getQueryExpressionsassertNotContainer, getAccessPathMetaDatas, getAlias, getAscending, getOperation, getOrderedParameterTypes, getProjectionAliases, getRange, getResultClass, getResultShape, getUpdates, hasGrouping, isAggregate, isDistinct, isPacking, toParameterArray, validategetParameterTypesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAccessPathMetaDatas, getAlias, getAscending, getOperation, getOrderedParameterTypes, getParameterTypes, getProjectionAliases, getRange, getResultClass, getResultShape, getUpdates, hasGrouping, isAggregate, isDistinct, isPacking, toParameterArray, validatepublic DistributedStoreQuery.ParallelExecutor(DistributedStoreQuery dsq, ClassMetaData meta, boolean subclasses, ExpressionParser parser, Object parsed, boolean parallel)
public void addExecutor(StoreQuery.Executor ex)
public ResultObjectProvider executeQuery(StoreQuery q, Object[] params, StoreQuery.Range range)
executeQuery in interface StoreQuery.ExecutorexecuteQuery in class ExpressionStoreQuery.DataStoreExecutorStoreQuery.Executor.isPacking(org.apache.openjpa.kernel.StoreQuery)boolean containsReplicated(QueryContext query)
public Number executeDelete(StoreQuery q, Object[] params)
StoreQuery.ExecutorexecuteDelete in interface StoreQuery.ExecutorexecuteDelete in class ExpressionStoreQuery.DataStoreExecutorpublic Number executeUpdate(StoreQuery q, Object[] params)
StoreQuery.ExecutorexecuteUpdate in interface StoreQuery.ExecutorexecuteUpdate in class ExpressionStoreQuery.DataStoreExecutorList<SliceStoreManager> findTargets()
Copyright © 2006–2013 Apache Software Foundation. All rights reserved.