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, getQueryExpressions
assertNotContainer, getAccessPathMetaDatas, getAlias, getAscending, getOperation, getOrderedParameterTypes, getProjectionAliases, getRange, getResultClass, getResultShape, getUpdates, hasGrouping, isAggregate, isDistinct, isPacking, toParameterArray, validate
getParameterTypes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAccessPathMetaDatas, getAlias, getAscending, getOperation, getOrderedParameterTypes, getParameterTypes, getProjectionAliases, getRange, getResultClass, getResultShape, getUpdates, hasGrouping, isAggregate, isDistinct, isPacking, toParameterArray, validate
public 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.Executor
executeQuery
in class ExpressionStoreQuery.DataStoreExecutor
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 ExpressionStoreQuery.DataStoreExecutor
public Number executeUpdate(StoreQuery q, Object[] params)
StoreQuery.Executor
executeUpdate
in interface StoreQuery.Executor
executeUpdate
in class ExpressionStoreQuery.DataStoreExecutor
List<SliceStoreManager> findTargets()
Copyright © 2006–2013 Apache Software Foundation. All rights reserved.