| Package | Description |
|---|---|
| org.apache.openjpa.kernel |
OpenJPA Runtime Kernel
|
| org.apache.openjpa.kernel.exps |
OpenJPA Expression Tree
|
| org.apache.openjpa.kernel.jpql |
JPA Query Language Support
|
| Modifier and Type | Method and Description |
|---|---|
QueryExpressions[] |
AbstractStoreQuery.AbstractExecutor.getQueryExpressions() |
QueryExpressions[] |
ExpressionStoreQuery.InMemoryExecutor.getQueryExpressions() |
QueryExpressions[] |
ExpressionStoreQuery.DataStoreExecutor.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) |
Copyright © 2006-2014 Apache Software Foundation. All Rights Reserved.