class DistributedSQLStoreQuery extends SQLStoreQuery
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
DistributedSQLStoreQuery.DeleteExecutor |
static class |
DistributedSQLStoreQuery.ParallelExecutor
Executes queries on multiple databases.
|
(package private) static class |
DistributedSQLStoreQuery.QueryExecutor |
(package private) static class |
DistributedSQLStoreQuery.UpdateExecutor |
SQLStoreQuery.SQLExecutorAbstractStoreQuery.AbstractExecutorStoreQuery.Executor, StoreQuery.RangectxEMPTY_BOOLEANS, EMPTY_CLASSES, EMPTY_METAS, EMPTY_OBJECTS, EMPTY_ORDERED_PARAMS, EMPTY_PARAMS, EMPTY_STRINGSOP_DELETE, OP_SELECT, OP_UPDATE| Constructor and Description |
|---|
DistributedSQLStoreQuery(JDBCStore store) |
| 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.
|
getStore, requiresCandidateType, requiresParameterDeclarations, substituteParams, supportsDataStoreExecution, supportsParameterDeclarationsevaluate, getAggregateListener, getCompilation, getContext, getFilterListener, invalidateCompilation, newCompilation, newCompilationKey, newInMemoryExecutor, populateFromCompilation, setQuery, supportsAbstractExecutors, supportsInMemoryExecutionpublic DistributedSQLStoreQuery(JDBCStore store)
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 SQLStoreQuerysubs - 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.