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.
|
Modifier and Type | Method and Description |
---|---|
StoreQuery.Executor |
QueryCacheStoreQuery.newDataStoreExecutor(ClassMetaData meta,
boolean subs) |
StoreQuery.Executor |
QueryCacheStoreQuery.newInMemoryExecutor(ClassMetaData meta,
boolean subs) |
Modifier and Type | Class and Description |
---|---|
static class |
PreparedSQLStoreQuery.PreparedSQLExecutor
Executor of a prepared query uses the QueryExpressions of the original query
available via the PreparedQuery.
|
static class |
SQLStoreQuery.SQLExecutor
Executes the filter as a SQL query.
|
class |
StoredProcedureQuery.StoredProcedureQueryExecutor |
Modifier and Type | Method and Description |
---|---|
StoreQuery.Executor |
SQLStoreQuery.newDataStoreExecutor(ClassMetaData meta,
boolean subclasses) |
StoreQuery.Executor |
PreparedSQLStoreQuery.newDataStoreExecutor(ClassMetaData meta,
boolean subclasses) |
StoreQuery.Executor |
StoredProcedureQuery.newDataStoreExecutor(ClassMetaData meta,
boolean subclasses) |
Modifier and Type | Method and Description |
---|---|
protected Number |
JDBCStoreQuery.executeDelete(StoreQuery.Executor ex,
ClassMetaData base,
ClassMetaData[] metas,
boolean subclasses,
ExpressionFactory[] facts,
QueryExpressions[] exps,
Object[] params) |
protected ResultObjectProvider |
JDBCStoreQuery.executeQuery(StoreQuery.Executor ex,
ClassMetaData base,
ClassMetaData[] metas,
boolean subclasses,
ExpressionFactory[] facts,
QueryExpressions[] exps,
Object[] params,
StoreQuery.Range range) |
protected Number |
JDBCStoreQuery.executeUpdate(StoreQuery.Executor ex,
ClassMetaData base,
ClassMetaData[] metas,
boolean subclasses,
ExpressionFactory[] facts,
QueryExpressions[] exps,
Object[] params) |
Modifier and Type | Class and Description |
---|---|
static class |
AbstractStoreQuery.AbstractExecutor
Abstract
Executor that implements most methods as no-ops. |
static class |
ExpressionStoreQuery.AbstractExpressionExecutor
Provides support for queries that hold query information
in a
QueryExpressions instance. |
static class |
ExpressionStoreQuery.DataStoreExecutor
The DataStoreExecutor executes the query against the
implementation's overridden
ExpressionStoreQuery.DataStoreExecutor.executeQuery(org.apache.openjpa.kernel.StoreQuery, java.lang.Object[], org.apache.openjpa.kernel.StoreQuery.Range) method. |
static class |
ExpressionStoreQuery.InMemoryExecutor
Runs the expression query in memory.
|
Modifier and Type | Field and Description |
---|---|
StoreQuery.Executor |
QueryImpl.Compilation.datastore |
StoreQuery.Executor |
QueryImpl.Compilation.memory |
Modifier and Type | Method and Description |
---|---|
StoreQuery.Executor |
ExpressionStoreQuery.newDataStoreExecutor(ClassMetaData meta,
boolean subs) |
StoreQuery.Executor |
AbstractStoreQuery.newDataStoreExecutor(ClassMetaData meta,
boolean subs) |
StoreQuery.Executor |
MethodStoreQuery.newDataStoreExecutor(ClassMetaData meta,
boolean subs) |
StoreQuery.Executor |
StoreQuery.newDataStoreExecutor(ClassMetaData meta,
boolean subs)
Return an executor for datastore execution of this query.
|
StoreQuery.Executor |
ExpressionStoreQuery.newInMemoryExecutor(ClassMetaData meta,
boolean subs) |
StoreQuery.Executor |
AbstractStoreQuery.newInMemoryExecutor(ClassMetaData meta,
boolean subs) |
StoreQuery.Executor |
MethodStoreQuery.newInMemoryExecutor(ClassMetaData meta,
boolean subs) |
StoreQuery.Executor |
StoreQuery.newInMemoryExecutor(ClassMetaData meta,
boolean subs)
Return an executor for in-memory execution of this query.
|
Modifier and Type | Method and Description |
---|---|
protected void |
QueryImpl.assertParameters(StoreQuery q,
StoreQuery.Executor ex,
Map params) |
protected void |
QueryImpl.assertParameters(StoreQuery q,
StoreQuery.Executor ex,
Object[] params)
Checks that the passed parameters match the declarations.
|
Number |
DelegatingQuery.deleteInMemory(StoreQuery q,
StoreQuery.Executor ex,
Object[] params) |
Number |
QueryContext.deleteInMemory(StoreQuery q,
StoreQuery.Executor ex,
Object[] params)
Helper method to delete the objects found by executing a query on
the given executor.
|
Number |
QueryImpl.deleteInMemory(StoreQuery q,
StoreQuery.Executor executor,
Object[] params) |
protected Number |
ExpressionStoreQuery.executeDelete(StoreQuery.Executor ex,
ClassMetaData base,
ClassMetaData[] types,
boolean subclasses,
ExpressionFactory[] facts,
QueryExpressions[] parsed,
Object[] params)
Execute the given expression against the given candidate extent
and delete the instances.
|
protected ResultObjectProvider |
ExpressionStoreQuery.executeQuery(StoreQuery.Executor ex,
ClassMetaData base,
ClassMetaData[] types,
boolean subclasses,
ExpressionFactory[] facts,
QueryExpressions[] parsed,
Object[] params,
StoreQuery.Range range)
Execute the given expression against the given candidate extent.
|
protected Number |
ExpressionStoreQuery.executeUpdate(StoreQuery.Executor ex,
ClassMetaData base,
ClassMetaData[] types,
boolean subclasses,
ExpressionFactory[] facts,
QueryExpressions[] parsed,
Object[] params)
Execute the given expression against the given candidate extent
and updates the instances.
|
protected Object |
QueryImpl.toResult(StoreQuery q,
StoreQuery.Executor ex,
ResultObjectProvider rop,
StoreQuery.Range range)
Return the query result for the given result object provider.
|
Number |
DelegatingQuery.updateInMemory(StoreQuery q,
StoreQuery.Executor ex,
Object[] params) |
Number |
QueryContext.updateInMemory(StoreQuery q,
StoreQuery.Executor ex,
Object[] params)
Helper method to update the objects found by executing a query on
the given executor.
|
Number |
QueryImpl.updateInMemory(StoreQuery q,
StoreQuery.Executor executor,
Object[] params) |
Constructor and Description |
---|
OrderingMergedResultObjectProvider(ResultObjectProvider[] rops,
boolean[] asc,
StoreQuery.Executor[] execs,
StoreQuery q,
Object[] params) |
OrderingMergedResultObjectProvider(ResultObjectProvider[] rops,
boolean[] asc,
StoreQuery.Executor exec,
StoreQuery q,
Object[] params) |
QueryResultCallback(QueryImpl kernel,
StoreQuery storeQuery,
StoreQuery.Executor executor,
BatchedResultObjectProvider parent,
StoreQuery.Range range) |
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.