class DistributedStoreQuery extends JDBCStoreQuery
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
DistributedStoreQuery.DeleteExecutor |
static class |
DistributedStoreQuery.ParallelExecutor
Executes queries on multiple databases.
|
(package private) static class |
DistributedStoreQuery.QueryExecutor |
(package private) static class |
DistributedStoreQuery.UpdateExecutor |
ExpressionStoreQuery.AbstractExpressionExecutor, ExpressionStoreQuery.DataStoreExecutor, ExpressionStoreQuery.InMemoryExecutorAbstractStoreQuery.AbstractExecutorStoreQuery.Executor, StoreQuery.Range_parsedctxEMPTY_BOOLEANS, EMPTY_CLASSES, EMPTY_METAS, EMPTY_OBJECTS, EMPTY_ORDERED_PARAMS, EMPTY_PARAMS, EMPTY_STRINGSOP_DELETE, OP_SELECT, OP_UPDATE| Constructor and Description |
|---|
DistributedStoreQuery(JDBCStore store,
ExpressionParser parser) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
add(StoreQuery q) |
DistributedJDBCStoreManager |
getDistributedStore() |
StoreQuery.Executor |
newDataStoreExecutor(ClassMetaData meta,
boolean subs)
Return an executor for datastore execution of this query.
|
void |
setContext(QueryContext ctx)
Set the current query context.
|
evaluate, executeDelete, executeQuery, executeUpdate, executeUpdate, executeUpdate, getDataStoreActions, getExpressionFactory, getFilterListener, getIndependentExpressionCandidates, getStore, getThreadLocalContext, getThreadLocalContext, getThreadLocalContext, getThreadLocalSelect, newCompilationKey, prepareStatement, supportsDataStoreExecutiongetCompilation, getResolver, invalidateCompilation, newCompilation, newInMemoryExecutor, populateFromCompilation, setQuery, supportsInMemoryExecutiongetAggregateListener, getContext, requiresCandidateType, requiresParameterDeclarations, supportsAbstractExecutors, supportsParameterDeclarationspublic DistributedStoreQuery(JDBCStore store, ExpressionParser parser)
void add(StoreQuery q)
public DistributedJDBCStoreManager getDistributedStore()
public StoreQuery.Executor newDataStoreExecutor(ClassMetaData meta, boolean subs)
StoreQueryStoreQuery.supportsAbstractExecutors(), the given metadata
will always be for the candidate class of this query, or possibly
null if the candidate class is not itself persistence capable (like
an interface or abstract base class). Otherwise, the given type will
be a mapped class.newDataStoreExecutor in interface StoreQuerynewDataStoreExecutor in class ExpressionStoreQuerysubs - whether to include dependent mapped subclasses in the
results; independent subclasses should never be includedpublic void setContext(QueryContext ctx)
StoreQuerysetContext in interface StoreQuerysetContext in class AbstractStoreQueryCopyright © 2006–2013 Apache Software Foundation. All rights reserved.