org.apache.openjpa.slice
public class DistributedQueryImpl extends QueryImpl
QueryImpl.Compilation, QueryImpl.PackingResultObjectProvider, QueryImpl.RemoveOnCloseResultList
OP_DELETE, OP_SELECT, OP_UPDATE
FLUSH_FALSE, FLUSH_TRUE, FLUSH_WITH_CONNECTION
Constructor and Description |
---|
DistributedQueryImpl(Broker broker,
java.lang.String language,
StoreQuery storeQuery) |
Modifier and Type | Method and Description |
---|---|
void |
lock()
Always uses lock irrespective of super's multi-threaded settings.
|
void |
unlock()
Unlock the query's internal lock.
|
addAggregateListener, addFilterListener, assertNotReadOnly, assertNotSerialized, assertOpen, assertParameters, assertParameters, classForName, closeAll, closeResources, compilationFromCache, compile, declareParameters, decorateResultList, deleteAll, deleteAll, deleteAll, deleteInMemory, execute, execute, execute, getAccessPathMetaDatas, getAggregateListener, getAggregateListeners, getAlias, getBroker, getCandidateCollection, getCandidateExtent, getCandidateType, getCompilation, getDataStoreActions, getEndRange, getFetchConfiguration, getFilterListener, getFilterListeners, getIgnoreChanges, getLanguage, getOperation, getOrderedParameterTypes, getParameterDeclaration, getParameterTypes, getProjectionAliases, getProjectionTypes, getQuery, getQueryString, getResultMappingName, getResultMappingScope, getResultType, getStartRange, getStoreContext, getStoreQuery, getUpdates, hasGrouping, hasSubclasses, isAccessPathDirty, isAggregate, isDistinct, isParsedQuery, isReadOnly, isUnique, removeAggregateListener, removeFilterListener, setCandidateCollection, setCandidateExtent, setCandidateType, setIgnoreChanges, setQuery, setRange, setReadOnly, setResultMapping, setResultType, setUnique, startLocking, stopLocking, toResult, toString, updateAll, updateAll, updateAll, updateInMemory
public DistributedQueryImpl(Broker broker, java.lang.String language, StoreQuery storeQuery)
public void lock()
lock
in interface QueryContext
lock
in class QueryImpl
public void unlock()
QueryContext
unlock
in interface QueryContext
unlock
in class QueryImpl