Package | Description |
---|---|
org.apache.openjpa.jdbc.kernel |
OpenJPA-JDBC Runtime Kernel
Runtime services for the JDBC OpenJPA implementation.
|
org.apache.openjpa.jdbc.kernel.exps |
OpenJPA-JDBC Expression Tree
|
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.kernel.exps |
OpenJPA Expression Tree
|
org.apache.openjpa.kernel.jpql |
JPA Query Language Support
Allow any spec or store to use JPQL.
|
org.apache.openjpa.persistence.criteria |
OpenJPA Criteria Query
This package provides an implementation of Criteria API in JPA 2.0 Specification
and extended features such as Query-By-Example.
|
org.apache.openjpa.slice.jdbc |
Implements Distributed version of JDBCStoreManager and JDBCStoreQuery.
|
Modifier and Type | Method and Description |
---|---|
QueryExpressions[] |
PreparedQueryImpl.getQueryExpressions() |
QueryExpressions[] |
PreparedSQLStoreQuery.PreparedSQLExecutor.getQueryExpressions() |
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(ClassMetaData base,
ClassMetaData[] metas,
boolean subclasses,
ExpressionFactory[] facts,
QueryExpressions[] parsed,
Object[] params) |
protected Number |
JDBCStoreQuery.executeUpdate(StoreQuery.Executor ex,
ClassMetaData base,
ClassMetaData[] metas,
boolean subclasses,
ExpressionFactory[] facts,
QueryExpressions[] exps,
Object[] params) |
protected String[] |
JDBCStoreQuery.getDataStoreActions(ClassMetaData base,
ClassMetaData[] metas,
boolean subclasses,
ExpressionFactory[] facts,
QueryExpressions[] exps,
Object[] params,
StoreQuery.Range range) |
Modifier and Type | Method and Description |
---|---|
Select |
SelectConstructor.evaluate(ExpContext ctx,
Select parent,
String alias,
QueryExpressions exps,
QueryExpressionsState state)
Evaluate the expression, returning a new select and filling in any
associated expression state.
|
void |
SelectConstructor.select(Select sel,
ExpContext ctx,
ClassMapping mapping,
boolean subclasses,
QueryExpressions exps,
QueryExpressionsState state,
int eager)
Select the data for this query.
|
void |
SubQ.setQueryExpressions(QueryExpressions query) |
Modifier and Type | Method and Description |
---|---|
QueryExpressions[] |
ExpressionStoreQuery.InMemoryExecutor.getQueryExpressions() |
QueryExpressions[] |
ExpressionStoreQuery.DataStoreExecutor.getQueryExpressions() |
QueryExpressions[] |
AbstractStoreQuery.AbstractExecutor.getQueryExpressions() |
QueryExpressions[] |
StoreQuery.Executor.getQueryExpressions()
Return the parsed query expressions for our candidate types.
|
Modifier and Type | Method and Description |
---|---|
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 String[] |
ExpressionStoreQuery.getDataStoreActions(ClassMetaData base,
ClassMetaData[] types,
boolean subclasses,
ExpressionFactory[] facts,
QueryExpressions[] parsed,
Object[] params,
StoreQuery.Range range)
Return the commands that will be sent to the datastore in order
to execute the query, typically in the database's native language.
|
Modifier and Type | Method and Description |
---|---|
QueryExpressions |
ExpressionParser.eval(Object parsed,
ExpressionStoreQuery query,
ExpressionFactory factory,
ClassMetaData candidate)
Parse the given query string.
|
Modifier and Type | Method and Description |
---|---|
List |
InMemoryExpressionFactory.distinct(QueryExpressions exps,
boolean fromExtent,
List matches)
Filter the given list of matches, removing duplicate entries.
|
List |
InMemoryExpressionFactory.group(QueryExpressions exps,
List matches,
StoreContext ctx,
Object[] params)
Group the list of matches into a list of lists.
|
boolean |
InMemoryExpressionFactory.matches(QueryExpressions exps,
ClassMetaData type,
boolean subs,
Object candidate,
StoreContext ctx,
Object[] params)
Tests whether the given candidate matches the given type and this
expression.
|
boolean |
InMemoryExpressionFactory.matches(QueryExpressions exps,
Collection group,
StoreContext ctx,
Object[] params)
Return true if the given group matches the having expression.
|
List |
InMemoryExpressionFactory.order(QueryExpressions exps,
List matches,
StoreContext ctx,
Object[] params)
Order the given list of matches on the given value.
|
List |
InMemoryExpressionFactory.project(QueryExpressions exps,
List matches,
StoreContext ctx,
Object[] params)
Create the projections for the given results.
|
void |
Subquery.setQueryExpressions(QueryExpressions query)
Set the parsed subquery.
|
Modifier and Type | Method and Description |
---|---|
QueryExpressions |
JPQLParser.eval(Object parsed,
ExpressionStoreQuery query,
ExpressionFactory factory,
ClassMetaData candidate) |
Modifier and Type | Method and Description |
---|---|
protected Expression |
JPQLExpressionBuilder.evalFetchJoins(QueryExpressions exps) |
protected void |
JPQLExpressionBuilder.evalSetClause(QueryExpressions exps) |
Modifier and Type | Method and Description |
---|---|
QueryExpressions |
CriteriaBuilderImpl.eval(Object parsed,
ExpressionStoreQuery query,
ExpressionFactory factory,
ClassMetaData candidate) |
Constructor and Description |
---|
UniqueResultObjectProvider(ResultObjectProvider[] rops,
StoreQuery q,
QueryExpressions[] exps) |
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.