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.InMemoryExecutor
AbstractStoreQuery.AbstractExecutor
StoreQuery.Executor, StoreQuery.Range
_parsed
ctx
EMPTY_BOOLEANS, EMPTY_CLASSES, EMPTY_METAS, EMPTY_OBJECTS, EMPTY_ORDERED_PARAMS, EMPTY_PARAMS, EMPTY_STRINGS
OP_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, supportsDataStoreExecution
getCompilation, getResolver, invalidateCompilation, newCompilation, newInMemoryExecutor, populateFromCompilation, setQuery, supportsInMemoryExecution
getAggregateListener, getContext, requiresCandidateType, requiresParameterDeclarations, supportsAbstractExecutors, supportsParameterDeclarations
public DistributedStoreQuery(JDBCStore store, ExpressionParser parser)
void add(StoreQuery q)
public DistributedJDBCStoreManager getDistributedStore()
public StoreQuery.Executor newDataStoreExecutor(ClassMetaData meta, boolean subs)
StoreQuery
StoreQuery.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 StoreQuery
newDataStoreExecutor
in class ExpressionStoreQuery
subs
- whether to include dependent mapped subclasses in the
results; independent subclasses should never be includedpublic void setContext(QueryContext ctx)
StoreQuery
setContext
in interface StoreQuery
setContext
in class AbstractStoreQuery
Copyright © 2006–2013 Apache Software Foundation. All rights reserved.