org.apache.openjpa.slice.jdbc
Class DistributedSQLStoreQuery
java.lang.Object
   org.apache.openjpa.kernel.AbstractStoreQuery
org.apache.openjpa.kernel.AbstractStoreQuery
       org.apache.openjpa.jdbc.kernel.SQLStoreQuery
org.apache.openjpa.jdbc.kernel.SQLStoreQuery
           org.apache.openjpa.slice.jdbc.DistributedSQLStoreQuery
org.apache.openjpa.slice.jdbc.DistributedSQLStoreQuery
- All Implemented Interfaces: 
- Serializable, QueryOperations, StoreQuery
-  class DistributedSQLStoreQuery 
- extends SQLStoreQuery
A query for distributed databases.
- Author:
- Pinaki Poddar
 
 
 
 
 
 
 
 
 
 
 
| Methods inherited from class org.apache.openjpa.kernel.AbstractStoreQuery | 
| evaluate, getAggregateListener, getCompilation, getContext, getFilterListener, invalidateCompilation, newCompilation, newCompilationKey, newInMemoryExecutor, populateFromCompilation, setQuery, supportsAbstractExecutors, supportsInMemoryExecution | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DistributedSQLStoreQuery
public DistributedSQLStoreQuery(JDBCStore store)
add
void add(StoreQuery q)
- 
 
getDistributedStore
public DistributedJDBCStoreManager getDistributedStore()
- 
 
newDataStoreExecutor
public StoreQuery.Executor newDataStoreExecutor(ClassMetaData meta,
                                                boolean subs)
- Description copied from interface: StoreQuery
- Return an executor for datastore execution of this query.
 Executors must be cachable and thread safe. If this class returns
 true from 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.
 
- 
- Specified by:
- newDataStoreExecutorin interface- StoreQuery
- Overrides:
- newDataStoreExecutorin class- SQLStoreQuery
 
- 
- subs- whether to include dependent mapped subclasses in the
 results; independent subclasses should never be included
 
setContext
public void setContext(QueryContext ctx)
- Description copied from interface: StoreQuery
- Set the current query context. This will be called before use.
 
- 
- Specified by:
- setContextin interface- StoreQuery
- Overrides:
- setContextin class- AbstractStoreQuery
 
- 
 
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.