Save This Page
Home » apache-openjpa-1.1.0-source » org.apache.openjpa » datacache » [javadoc | source]
org.apache.openjpa.datacache
public class: QueryCacheStoreQuery [javadoc | source]
java.lang.Object
   org.apache.openjpa.datacache.QueryCacheStoreQuery

All Implemented Interfaces:
    StoreQuery

A StoreQuery implementation that caches the OIDs involved in the query, and can determine whether or not the query has been dirtied.
Nested Class Summary:
public static class  QueryCacheStoreQuery.CachedList  Result list implementation for a cached query result. Package-protected for testing. 
Constructor:
 public QueryCacheStoreQuery(StoreQuery query,
    QueryCache cache) 
    Create a new instance that delegates to query if no cached results are available.
Method from org.apache.openjpa.datacache.QueryCacheStoreQuery Summary:
getAggregateListener,   getCache,   getContext,   getDelegate,   getFilterListener,   invalidateCompilation,   newCompilation,   newCompilationKey,   newDataStoreExecutor,   newInMemoryExecutor,   populateFromCompilation,   requiresCandidateType,   requiresParameterDeclarations,   setContext,   setQuery,   supportsAbstractExecutors,   supportsDataStoreExecution,   supportsInMemoryExecution,   supportsParameterDeclarations,   writeReplace
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openjpa.datacache.QueryCacheStoreQuery Detail:
 public AggregateListener getAggregateListener(String tag) 
 public QueryCache getCache() 
    Return the QueryCache that this object is associated with.
 public QueryContext getContext() 
 public StoreQuery getDelegate() 
    Delegate.
 public FilterListener getFilterListener(String tag) 
 public  void invalidateCompilation() 
 public Object newCompilation() 
 public Object newCompilationKey() 
 public Executor newDataStoreExecutor(ClassMetaData meta,
    boolean subs) 
 public Executor newInMemoryExecutor(ClassMetaData meta,
    boolean subs) 
 public  void populateFromCompilation(Object comp) 
 public boolean requiresCandidateType() 
 public boolean requiresParameterDeclarations() 
 public  void setContext(QueryContext qctx) 
 public boolean setQuery(Object query) 
 public boolean supportsAbstractExecutors() 
 public boolean supportsDataStoreExecution() 
 public boolean supportsInMemoryExecution() 
 public boolean supportsParameterDeclarations() 
 public Object writeReplace() throws ObjectStreamException