Uses of Interface
org.apache.openjpa.kernel.Query
-
Packages that use Query Package Description org.apache.openjpa.datacache OpenJPA Data Cacheorg.apache.openjpa.jdbc.kernel OpenJPA-JDBC Runtime Kernelorg.apache.openjpa.kernel OpenJPA Runtime Kernelorg.apache.openjpa.meta OpenJPA Metadataorg.apache.openjpa.persistence OpenJPA JPAorg.apache.openjpa.persistence.query OpenJPA Dynamic Queryorg.apache.openjpa.slice Extended OpenJPA Interfaces for distributed databases. -
-
Uses of Query in org.apache.openjpa.datacache
Methods in org.apache.openjpa.datacache with parameters of type Query Modifier and Type Method 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, java.lang.Object[] args)
Return a key for the given query, or null if it is not cacheable.static QueryKey
QueryKey. newInstance(Query q, java.util.Map<java.lang.Object,java.lang.Object> args)
Return a key for the given query, or null if it is not cacheable. -
Uses of Query in org.apache.openjpa.jdbc.kernel
Methods in org.apache.openjpa.jdbc.kernel with parameters of type Query Modifier and Type Method Description java.lang.Boolean
PreparedQueryCacheImpl. register(java.lang.String id, Query query, FetchConfiguration hints)
void
PreparedQueryImpl. setInto(Query q)
Pours the post-compilation state held by this receiver to the given query.Constructors in org.apache.openjpa.jdbc.kernel with parameters of type Query Constructor Description PreparedQueryImpl(java.lang.String id, java.lang.String sql, Query compiled)
Construct.PreparedQueryImpl(java.lang.String id, Query compiled)
Construct. -
Uses of Query in org.apache.openjpa.kernel
Classes in org.apache.openjpa.kernel that implement Query Modifier and Type Class Description class
DelegatingQuery
Delegating query that can also perform exception translation for use in facades.class
QueryImpl
Implementation of theQuery
interface.Methods in org.apache.openjpa.kernel that return Query Modifier and Type Method Description Query
DelegatingQuery. getDelegate()
Return the direct delegate.Query
DelegatingQuery. getInnermostDelegate()
Return the native delegate.Query
DelegatingQuery. getQuery()
Query
QueryContext. getQuery()
Return the query for this context.Query
QueryImpl. getQuery()
Query
Broker. newQuery(java.lang.String language, java.lang.Class cls, java.lang.Object query)
Create a new query from the given data, with the given candidate class and language.Query
Broker. newQuery(java.lang.String language, java.lang.Object query)
Create a new query in the given language.Query
BrokerImpl. newQuery(java.lang.String lang, java.lang.Class cls, java.lang.Object query)
Query
BrokerImpl. newQuery(java.lang.String lang, java.lang.Object query)
Query
DelegatingBroker. newQuery(java.lang.String language, java.lang.Class cls, java.lang.Object query)
Query
DelegatingBroker. newQuery(java.lang.String language, java.lang.Object query)
Methods in org.apache.openjpa.kernel with parameters of type Query Modifier and Type Method Description java.lang.Boolean
PreparedQueryCache. register(java.lang.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.Constructors in org.apache.openjpa.kernel with parameters of type Query Constructor Description DelegatingQuery(Query query)
Constructor; supply delegate.DelegatingQuery(Query query, RuntimeExceptionTranslator trans)
Constructor; supply delegate and exception translator. -
Uses of Query in org.apache.openjpa.meta
Methods in org.apache.openjpa.meta with parameters of type Query Modifier and Type Method Description void
QueryMetaData. setFrom(Query query)
Initialize this instance from the values held in the specifiedQuery
.void
QueryMetaData. setInto(Query query)
Set query template information into the given concrete query instance. -
Uses of Query in org.apache.openjpa.persistence
Methods in org.apache.openjpa.persistence that return Query Modifier and Type Method Description Query
QueryImpl. getDelegate()
Delegate.Query
StoredProcedureQueryImpl. getExecutableQuery()
Gets the kernel delegate that is handles actual execution on behalf of this receiver.Methods in org.apache.openjpa.persistence with parameters of type Query Modifier and Type Method Description protected <T> QueryImpl<T>
EntityManagerImpl. newQueryImpl(Query kernelQuery)
protected <T> QueryImpl<T>
EntityManagerImpl. newQueryImpl(Query kernelQuery, QueryMetaData qmd)
Constructors in org.apache.openjpa.persistence with parameters of type Query Constructor 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. -
Uses of Query in org.apache.openjpa.persistence.query
Methods in org.apache.openjpa.persistence.query with parameters of type Query Modifier and Type Method Description QueryDefinition
OpenJPAQueryBuilder. createQueryDefinition(Query jpql)
Create a QueryDefinition from the given OpenJPA Query instance.QueryDefinition
QueryBuilderImpl. createQueryDefinition(Query jpql)
-
Uses of Query in org.apache.openjpa.slice
Classes in org.apache.openjpa.slice that implement Query Modifier and Type Class Description class
DistributedQueryImpl
Extension with slice locking policy.
-