Uses of Class
org.apache.openjpa.kernel.exps.QueryExpressions
Package
Description
OpenJPA-JDBC Runtime Kernel
OpenJPA-JDBC Expression Tree
OpenJPA Runtime Kernel
OpenJPA Expression Tree
JPA Query Language Support
OpenJPA Criteria Query
Implements Distributed version of JDBCStoreManager and JDBCStoreQuery.
-
Uses of QueryExpressions in org.apache.openjpa.jdbc.kernel
Modifier and TypeMethodDescriptionPreparedQueryImpl.getQueryExpressions()
PreparedSQLStoreQuery.PreparedSQLExecutor.getQueryExpressions()
Modifier and TypeMethodDescriptionprotected 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) protected Number
JDBCStoreQuery.executeUpdate
(ClassMetaData base, ClassMetaData[] metas, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] parsed, Object[] params) protected String[]
JDBCStoreQuery.getDataStoreActions
(ClassMetaData base, ClassMetaData[] metas, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] exps, Object[] params, StoreQuery.Range range) -
Uses of QueryExpressions in org.apache.openjpa.jdbc.kernel.exps
Modifier and TypeMethodDescriptionSelectConstructor.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) -
Uses of QueryExpressions in org.apache.openjpa.kernel
Modifier and TypeMethodDescriptionAbstractStoreQuery.AbstractExecutor.getQueryExpressions()
ExpressionStoreQuery.DataStoreExecutor.getQueryExpressions()
ExpressionStoreQuery.InMemoryExecutor.getQueryExpressions()
StoreQuery.Executor.getQueryExpressions()
Return the parsed query expressions for our candidate types.Modifier and TypeMethodDescriptionprotected 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. -
Uses of QueryExpressions in org.apache.openjpa.kernel.exps
Modifier and TypeMethodDescriptionExpressionParser.eval
(Object parsed, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate) Parse the given query string.Modifier and TypeMethodDescriptionInMemoryExpressionFactory.distinct
(QueryExpressions exps, boolean fromExtent, List matches) Filter the given list of matches, removing duplicate entries.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, Collection group, StoreContext ctx, Object[] params) Return true if the given group matches the having expression.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.InMemoryExpressionFactory.order
(QueryExpressions exps, List matches, StoreContext ctx, Object[] params) Order the given list of matches on the given value.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. -
Uses of QueryExpressions in org.apache.openjpa.kernel.jpql
Modifier and TypeMethodDescriptionJPQLParser.eval
(Object parsed, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate) Modifier and TypeMethodDescriptionprotected Expression
JPQLExpressionBuilder.evalFetchJoins
(QueryExpressions exps) protected void
JPQLExpressionBuilder.evalSetClause
(QueryExpressions exps) -
Uses of QueryExpressions in org.apache.openjpa.persistence.criteria
Modifier and TypeMethodDescriptionCriteriaBuilderImpl.eval
(Object parsed, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate) -
Uses of QueryExpressions in org.apache.openjpa.slice.jdbc
ModifierConstructorDescriptionUniqueResultObjectProvider
(ResultObjectProvider[] rops, StoreQuery q, QueryExpressions[] exps)