Uses of Interface
org.apache.openjpa.kernel.exps.ExpressionFactory
-
Packages that use ExpressionFactory 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 Query -
-
Uses of ExpressionFactory in org.apache.openjpa.jdbc.kernel
Methods in org.apache.openjpa.jdbc.kernel that return ExpressionFactory Modifier and Type Method Description protected ExpressionFactory
JDBCStoreQuery. getExpressionFactory(ClassMetaData meta)
Methods in org.apache.openjpa.jdbc.kernel with parameters of type ExpressionFactory 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 ExpressionFactory in org.apache.openjpa.jdbc.kernel.exps
Classes in org.apache.openjpa.jdbc.kernel.exps that implement ExpressionFactory Modifier and Type Class Description class
JDBCExpressionFactory
Expression factory implementation that can be used to execute queries via SQL. -
Uses of ExpressionFactory in org.apache.openjpa.kernel
Methods in org.apache.openjpa.kernel that return ExpressionFactory Modifier and Type Method Description protected ExpressionFactory
ExpressionStoreQuery. getExpressionFactory(ClassMetaData type)
Return anExpressionFactory
to use to create an expression to be executed against an extent.Methods in org.apache.openjpa.kernel with parameters of type ExpressionFactory 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 ExpressionFactory in org.apache.openjpa.kernel.exps
Classes in org.apache.openjpa.kernel.exps that implement ExpressionFactory Modifier and Type Class Description class
InMemoryExpressionFactory
Expression factory implementation that can be used to execute queries in memory.Fields in org.apache.openjpa.kernel.exps declared as ExpressionFactory Modifier and Type Field Description protected ExpressionFactory
AbstractExpressionBuilder. factory
Methods in org.apache.openjpa.kernel.exps with parameters of type ExpressionFactory Modifier and Type Method Description QueryExpressions
ExpressionParser. eval(java.lang.Object parsed, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
Parse the given query string.Value[]
ExpressionParser. eval(java.lang.String[] vals, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
Parse the given value clauses.Constructors in org.apache.openjpa.kernel.exps with parameters of type ExpressionFactory Constructor Description AbstractExpressionBuilder(ExpressionFactory factory, Resolver resolver)
Constructor. -
Uses of ExpressionFactory in org.apache.openjpa.kernel.jpql
Methods in org.apache.openjpa.kernel.jpql with parameters of type ExpressionFactory Modifier and Type Method 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(java.lang.Object parsed, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
Value[]
JPQLParser. eval(java.lang.String[] vals, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
Constructors in org.apache.openjpa.kernel.jpql with parameters of type ExpressionFactory Constructor Description JPQLExpressionBuilder(ExpressionFactory factory, ExpressionStoreQuery query, java.lang.Object parsedQuery)
Constructor. -
Uses of ExpressionFactory in org.apache.openjpa.persistence.criteria
Methods in org.apache.openjpa.persistence.criteria with parameters of type ExpressionFactory Modifier and Type Method Description QueryExpressions
CriteriaBuilderImpl. eval(java.lang.Object parsed, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
Value[]
CriteriaBuilderImpl. eval(java.lang.String[] vals, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
-