| Package | Description |
|---|---|
| org.apache.openjpa.datacache |
OpenJPA Data Cache
|
| org.apache.openjpa.kernel |
OpenJPA Runtime Kernel
|
| org.apache.openjpa.meta |
OpenJPA Metadata
|
| Modifier and Type | Method and Description |
|---|---|
static QueryKey |
QueryKey.newInstance(Query q)
Return a key for the given query, or null if it is not cacheable.
|
static QueryKey |
QueryKey.newInstance(Query q,
Map<Object,Object> args)
Return a key for the given query, or null if it is not cacheable.
|
static QueryKey |
QueryKey.newInstance(Query q,
Object[] args)
Return a key for the given query, or null if it is not cacheable.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DelegatingQuery
Delegating query that can also perform exception translation
for use in facades.
|
class |
QueryImpl
Implementation of the
Query interface. |
| Modifier and Type | Method and Description |
|---|---|
Query |
DelegatingQuery.getDelegate()
Return the direct delegate.
|
Query |
DelegatingQuery.getInnermostDelegate()
Return the native delegate.
|
Query |
QueryContext.getQuery()
Return the query for this context.
|
Query |
DelegatingQuery.getQuery() |
Query |
QueryImpl.getQuery() |
Query |
BrokerImpl.newQuery(String lang,
Class cls,
Object query) |
Query |
Broker.newQuery(String language,
Class cls,
Object query)
Create a new query from the given data, with the given candidate class
and language.
|
Query |
DelegatingBroker.newQuery(String language,
Class cls,
Object query) |
Query |
BrokerImpl.newQuery(String lang,
Object query) |
Query |
Broker.newQuery(String language,
Object query)
Create a new query in the given language.
|
Query |
DelegatingBroker.newQuery(String language,
Object query) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
PreparedQueryCache.register(String key,
Query query,
FetchConfiguration hints)
Register the given query for caching against the given key if it has not
already been cached.
|
void |
PreparedQuery.setInto(Query q)
Fill in the post-compilation state of the given Query.
|
| Constructor and Description |
|---|
DelegatingQuery(Query query)
Constructor; supply delegate.
|
DelegatingQuery(Query query,
RuntimeExceptionTranslator trans)
Constructor; supply delegate and exception translator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
QueryMetaData.setFrom(Query query)
Initialize this instance from the values held in the
specified
Query. |
void |
QueryMetaData.setInto(Query query)
Set query template information into the given concrete
query instance.
|
Copyright © 2006-2014 Apache Software Foundation. All Rights Reserved.