Uses of Class
org.apache.openjpa.kernel.exps.QueryExpressions
-
Packages that use QueryExpressions Package Description org.apache.openjpa.jdbc.kernel OpenJPA-JDBC Runtime Kernelorg.apache.openjpa.jdbc.kernel.exps OpenJPA-JDBC Expression Treeorg.apache.openjpa.kernel OpenJPA Runtime Kernelorg.apache.openjpa.kernel.exps OpenJPA Expression Treeorg.apache.openjpa.kernel.jpql JPA Query Language Supportorg.apache.openjpa.persistence.criteria OpenJPA Criteria Queryorg.apache.openjpa.slice.jdbc Implements Distributed version of JDBCStoreManager and JDBCStoreQuery. -
-
Uses of QueryExpressions in org.apache.openjpa.jdbc.kernel
Methods in org.apache.openjpa.jdbc.kernel that return QueryExpressions Modifier and Type Method Description QueryExpressions[]
PreparedQueryImpl. getQueryExpressions()
QueryExpressions[]
PreparedSQLStoreQuery.PreparedSQLExecutor. getQueryExpressions()
Methods in org.apache.openjpa.jdbc.kernel with parameters of type QueryExpressions Modifier and Type Method Description protected java.lang.Number
JDBCStoreQuery. executeDelete(StoreQuery.Executor ex, ClassMetaData base, ClassMetaData[] metas, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] exps, java.lang.Object[] params)
protected ResultObjectProvider
JDBCStoreQuery. executeQuery(StoreQuery.Executor ex, ClassMetaData base, ClassMetaData[] metas, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] exps, java.lang.Object[] params, StoreQuery.Range range)
protected java.lang.Number
JDBCStoreQuery. executeUpdate(StoreQuery.Executor ex, ClassMetaData base, ClassMetaData[] metas, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] exps, java.lang.Object[] params)
protected java.lang.Number
JDBCStoreQuery. executeUpdate(ClassMetaData base, ClassMetaData[] metas, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] parsed, java.lang.Object[] params)
protected java.lang.String[]
JDBCStoreQuery. getDataStoreActions(ClassMetaData base, ClassMetaData[] metas, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] exps, java.lang.Object[] params, StoreQuery.Range range)
-
Uses of QueryExpressions in org.apache.openjpa.jdbc.kernel.exps
Methods in org.apache.openjpa.jdbc.kernel.exps with parameters of type QueryExpressions Modifier and Type Method Description Select
SelectConstructor. evaluate(ExpContext ctx, Select parent, java.lang.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
Methods in org.apache.openjpa.kernel that return QueryExpressions Modifier and Type Method Description QueryExpressions[]
AbstractStoreQuery.AbstractExecutor. getQueryExpressions()
QueryExpressions[]
ExpressionStoreQuery.DataStoreExecutor. getQueryExpressions()
QueryExpressions[]
ExpressionStoreQuery.InMemoryExecutor. getQueryExpressions()
QueryExpressions[]
StoreQuery.Executor. getQueryExpressions()
Return the parsed query expressions for our candidate types.Methods in org.apache.openjpa.kernel with parameters of type QueryExpressions Modifier and Type Method Description protected java.lang.Number
ExpressionStoreQuery. executeDelete(StoreQuery.Executor ex, ClassMetaData base, ClassMetaData[] types, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] parsed, java.lang.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, java.lang.Object[] params, StoreQuery.Range range)
Execute the given expression against the given candidate extent.protected java.lang.Number
ExpressionStoreQuery. executeUpdate(StoreQuery.Executor ex, ClassMetaData base, ClassMetaData[] types, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] parsed, java.lang.Object[] params)
Execute the given expression against the given candidate extent and updates the instances.protected java.lang.String[]
ExpressionStoreQuery. getDataStoreActions(ClassMetaData base, ClassMetaData[] types, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] parsed, java.lang.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
Methods in org.apache.openjpa.kernel.exps that return QueryExpressions Modifier and Type Method Description QueryExpressions
ExpressionParser. eval(java.lang.Object parsed, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
Parse the given query string.Methods in org.apache.openjpa.kernel.exps with parameters of type QueryExpressions Modifier and Type Method Description java.util.List
InMemoryExpressionFactory. distinct(QueryExpressions exps, boolean fromExtent, java.util.List matches)
Filter the given list of matches, removing duplicate entries.java.util.List
InMemoryExpressionFactory. group(QueryExpressions exps, java.util.List matches, StoreContext ctx, java.lang.Object[] params)
Group the list of matches into a list of lists.boolean
InMemoryExpressionFactory. matches(QueryExpressions exps, java.util.Collection group, StoreContext ctx, java.lang.Object[] params)
Return true if the given group matches the having expression.boolean
InMemoryExpressionFactory. matches(QueryExpressions exps, ClassMetaData type, boolean subs, java.lang.Object candidate, StoreContext ctx, java.lang.Object[] params)
Tests whether the given candidate matches the given type and this expression.java.util.List
InMemoryExpressionFactory. order(QueryExpressions exps, java.util.List matches, StoreContext ctx, java.lang.Object[] params)
Order the given list of matches on the given value.java.util.List
InMemoryExpressionFactory. project(QueryExpressions exps, java.util.List matches, StoreContext ctx, java.lang.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
Methods in org.apache.openjpa.kernel.jpql that return QueryExpressions Modifier and Type Method Description QueryExpressions
JPQLParser. eval(java.lang.Object parsed, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
Methods in org.apache.openjpa.kernel.jpql with parameters of type QueryExpressions Modifier and Type Method Description protected Expression
JPQLExpressionBuilder. evalFetchJoins(QueryExpressions exps)
protected void
JPQLExpressionBuilder. evalSetClause(QueryExpressions exps)
-
Uses of QueryExpressions in org.apache.openjpa.persistence.criteria
Methods in org.apache.openjpa.persistence.criteria that return QueryExpressions Modifier and Type Method Description QueryExpressions
CriteriaBuilderImpl. eval(java.lang.Object parsed, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
-
Uses of QueryExpressions in org.apache.openjpa.slice.jdbc
Constructors in org.apache.openjpa.slice.jdbc with parameters of type QueryExpressions Constructor Description UniqueResultObjectProvider(ResultObjectProvider[] rops, StoreQuery q, QueryExpressions[] exps)
-