Package | Description |
---|---|
org.apache.openjpa.datacache |
OpenJPA Data Cache
OpenJPA's data and query caching frameworks.
|
org.apache.openjpa.jdbc.kernel |
OpenJPA-JDBC Runtime Kernel
Runtime services for the JDBC OpenJPA implementation.
|
org.apache.openjpa.kernel |
OpenJPA Runtime Kernel
This package provides a common OpenJPA runtime environment that can be
adapted for use with various data store mechanisms.
|
org.apache.openjpa.meta |
OpenJPA Metadata
This package provides an extendable framework for parsing and caching
persistence metadata.
|
org.apache.openjpa.persistence |
OpenJPA JPA
This package provides an JPA facade to OpenJPA.
|
org.apache.openjpa.persistence.query |
OpenJPA Dynamic Query
This package provides dynamic query construction that are similar to weakly-typed Criteria API.
|
org.apache.openjpa.slice |
Extended OpenJPA Interfaces for distributed databases.
|
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 | Method and Description |
---|---|
Boolean |
PreparedQueryCacheImpl.register(String id,
Query query,
FetchConfiguration hints) |
void |
PreparedQueryImpl.setInto(Query q)
Pours the post-compilation state held by this receiver to the given
query.
|
Constructor and Description |
---|
PreparedQueryImpl(String id,
Query compiled)
Construct.
|
PreparedQueryImpl(String id,
String sql,
Query compiled)
Construct.
|
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 |
QueryImpl.getQuery() |
Query |
QueryContext.getQuery()
Return the query for this context.
|
Query |
DelegatingQuery.getQuery() |
Query |
DelegatingBroker.newQuery(String language,
Class cls,
Object query) |
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,
Object query) |
Query |
BrokerImpl.newQuery(String lang,
Object query) |
Query |
Broker.newQuery(String language,
Object query)
Create a new query in the given language.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Query |
QueryImpl.getDelegate()
Delegate.
|
Query |
StoredProcedureQueryImpl.getExecutableQuery()
Gets the kernel delegate that is handles actual execution on behalf of this receiver.
|
Modifier and Type | Method and Description |
---|---|
protected <T> QueryImpl<T> |
EntityManagerImpl.newQueryImpl(Query kernelQuery) |
protected <T> QueryImpl<T> |
EntityManagerImpl.newQueryImpl(Query kernelQuery,
QueryMetaData qmd) |
Constructor and Description |
---|
QueryImpl(EntityManagerImpl em,
Query query)
Deprecated.
|
QueryImpl(EntityManagerImpl em,
RuntimeExceptionTranslator ret,
Query query)
Deprecated.
|
QueryImpl(EntityManagerImpl em,
RuntimeExceptionTranslator ret,
Query query,
QueryMetaData qmd)
Constructor; supply factory exception translator and delegate.
|
Modifier and Type | Method and Description |
---|---|
QueryDefinition |
QueryBuilderImpl.createQueryDefinition(Query jpql) |
QueryDefinition |
OpenJPAQueryBuilder.createQueryDefinition(Query jpql)
Create a QueryDefinition from the given OpenJPA Query instance.
|
Modifier and Type | Class and Description |
---|---|
class |
DistributedQueryImpl
Extension with slice locking policy.
|
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.