Package | Description |
---|---|
org.apache.openjpa.jdbc.kernel |
OpenJPA-JDBC Runtime Kernel
|
org.apache.openjpa.jdbc.kernel.exps |
OpenJPA-JDBC Expression Tree
|
org.apache.openjpa.kernel |
OpenJPA Runtime Kernel
|
org.apache.openjpa.kernel.exps |
OpenJPA Expression Tree
|
org.apache.openjpa.kernel.jpql |
JPA Query Language Support
|
org.apache.openjpa.persistence.criteria |
OpenJPA Criteria Query
|
Modifier and Type | Method and Description |
---|---|
protected ExpressionFactory |
JDBCStoreQuery.getExpressionFactory(ClassMetaData meta) |
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 | Class and Description |
---|---|
class |
JDBCExpressionFactory
Expression factory implementation that can be used to execute queries
via SQL.
|
Modifier and Type | Method and Description |
---|---|
protected ExpressionFactory |
ExpressionStoreQuery.getExpressionFactory(ClassMetaData type)
Return an
ExpressionFactory to use to create an expression to
be executed against an extent. |
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 | Class and Description |
---|---|
class |
InMemoryExpressionFactory
Expression factory implementation that can be used to execute queries
in memory.
|
Modifier and Type | Field and Description |
---|---|
protected ExpressionFactory |
AbstractExpressionBuilder.factory |
Modifier and Type | Method and Description |
---|---|
QueryExpressions |
ExpressionParser.eval(Object parsed,
ExpressionStoreQuery query,
ExpressionFactory factory,
ClassMetaData candidate)
Parse the given query string.
|
Value[] |
ExpressionParser.eval(String[] vals,
ExpressionStoreQuery query,
ExpressionFactory factory,
ClassMetaData candidate)
Parse the given value clauses.
|
Constructor and Description |
---|
AbstractExpressionBuilder(ExpressionFactory factory,
Resolver resolver)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static Value |
JPQLExpressionBuilder.convertSubstringArguments(ExpressionFactory factory,
Value val1,
Value val2,
Value val3)
Converts JPQL substring() function to OpenJPA ExpressionFactory
substring() arguments.
|
QueryExpressions |
JPQLParser.eval(Object parsed,
ExpressionStoreQuery query,
ExpressionFactory factory,
ClassMetaData candidate) |
Value[] |
JPQLParser.eval(String[] vals,
ExpressionStoreQuery query,
ExpressionFactory factory,
ClassMetaData candidate) |
Constructor and Description |
---|
JPQLExpressionBuilder(ExpressionFactory factory,
ExpressionStoreQuery query,
Object parsedQuery)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
QueryExpressions |
CriteriaBuilderImpl.eval(Object parsed,
ExpressionStoreQuery query,
ExpressionFactory factory,
ClassMetaData candidate) |
Value[] |
CriteriaBuilderImpl.eval(String[] vals,
ExpressionStoreQuery query,
ExpressionFactory factory,
ClassMetaData candidate) |
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.