Uses of Interface
org.apache.openjpa.kernel.exps.ExpressionFactory

Packages that use ExpressionFactory
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 
 

Uses of ExpressionFactory in org.apache.openjpa.jdbc.kernel
 

Methods in org.apache.openjpa.jdbc.kernel that return ExpressionFactory
protected  ExpressionFactory JDBCStoreQuery.getExpressionFactory(ClassMetaData meta)
           
 

Methods in org.apache.openjpa.jdbc.kernel with parameters of type ExpressionFactory
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)
           
 

Uses of ExpressionFactory in org.apache.openjpa.jdbc.kernel.exps
 

Classes in org.apache.openjpa.jdbc.kernel.exps that implement ExpressionFactory
 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
protected  ExpressionFactory ExpressionStoreQuery.getExpressionFactory(ClassMetaData type)
          Return an ExpressionFactory to use to create an expression to be executed against an extent.
 

Methods in org.apache.openjpa.kernel with parameters of type ExpressionFactory
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.
 

Uses of ExpressionFactory in org.apache.openjpa.kernel.exps
 

Classes in org.apache.openjpa.kernel.exps that implement ExpressionFactory
 class InMemoryExpressionFactory
          Expression factory implementation that can be used to execute queries in memory.
 

Fields in org.apache.openjpa.kernel.exps declared as ExpressionFactory
protected  ExpressionFactory AbstractExpressionBuilder.factory
           
 

Methods in org.apache.openjpa.kernel.exps with parameters of type ExpressionFactory
 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.
 

Constructors in org.apache.openjpa.kernel.exps with parameters of type ExpressionFactory
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
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)
           
 

Constructors in org.apache.openjpa.kernel.jpql with parameters of type ExpressionFactory
JPQLExpressionBuilder(ExpressionFactory factory, ExpressionStoreQuery query, Object parsedQuery)
          Constructor.
 

Uses of ExpressionFactory in org.apache.openjpa.persistence.criteria
 

Methods in org.apache.openjpa.persistence.criteria with parameters of type ExpressionFactory
 void RootImpl.addToContext(ExpressionFactory factory, MetamodelImpl model, CriteriaQueryImpl<?> q)
           
(package private) static Expression Expressions.and(ExpressionFactory factory, Expression e1, Expression e2)
           
 QueryExpressions CriteriaBuilderImpl.eval(Object parsed, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
           
 Value[] CriteriaBuilderImpl.eval(String[] vals, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
           
protected  void CriteriaExpressionBuilder.evalAccessPaths(QueryExpressions exps, ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
protected  void CriteriaExpressionBuilder.evalCrossJoinRoots(QueryExpressions exps, ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
protected  void CriteriaExpressionBuilder.evalDistinct(QueryExpressions exps, ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
protected  void CriteriaExpressionBuilder.evalFetchJoin(QueryExpressions exps, ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
protected  void CriteriaExpressionBuilder.evalFilter(QueryExpressions exps, ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
protected  void CriteriaExpressionBuilder.evalGrouping(QueryExpressions exps, ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
protected  Map<ExpressionImpl<?>,Value> CriteriaExpressionBuilder.evalOrdering(QueryExpressions exps, ExpressionFactory factory, CriteriaQueryImpl<?> q)
          Evaluates the ordering expressions by converting them to kernel values.
protected  void CriteriaExpressionBuilder.evalOrderingAndProjection(QueryExpressions exps, ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
protected  void CriteriaExpressionBuilder.evalProjections(QueryExpressions exps, ExpressionFactory factory, CriteriaQueryImpl<?> q, Map<ExpressionImpl<?>,Value> exp2Vals)
           
(package private)  QueryExpressions CriteriaQueryImpl.getQueryExpressions(ExpressionFactory factory)
          Populate a kernel expression tree by translating the components of this receiver with the help of the given ExpressionFactory.
 QueryExpressions CriteriaExpressionBuilder.getQueryExpressions(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Expression RootImpl.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> c)
          Convert this path to a kernel expression.
(package private)  Expression PredicateImpl.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Expression Joins.SingularJoin.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> c)
           
 Expression Joins.AbstractCollection.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> c)
          Convert this path to a join expression.
 Expression Joins.Map.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> c)
           
(package private)  Expression Expressions.Equal.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
(package private)  Expression Expressions.NotEqual.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
(package private)  Expression Expressions.GreaterThan.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
(package private)  Expression Expressions.GreaterThanEqual.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
(package private)  Expression Expressions.LessThan.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
(package private)  Expression Expressions.LessThanEqual.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
(package private)  Expression Expressions.IsEmpty.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
(package private)  Expression Expressions.IsNotEmpty.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Expression Expressions.IsMember.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Expression Expressions.Like.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
(package private)  Expression Expressions.IsNull.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
(package private)  Expression Expressions.IsNotNull.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
(package private)  Expression Expressions.In.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
(package private)  Expression Expressions.Exists.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Expression Expressions.Not.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
(package private)  Expression ExpressionImpl.toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> q)
          Bridge contract to convert this facade expression to a kernel expression.
 Value SubqueryImpl.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
          Convert this path to a kernel path value.
 Value RootImpl.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> c)
          Convert this path to a kernel path value.
(package private)  Value PredicateImpl.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value PathImpl.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
          Convert this path to a kernel path.
 Value ParameterExpressionImpl.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Joins.SingularJoin.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> c)
           
 Value Joins.AbstractCollection.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> c)
          Convert this path to a kernel path (value).
 Value Joins.MapKey.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> c)
          Convert this path to a join expression.
 Value Joins.MapEntry.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> c)
          Convert this path to a join expression.
 Value Joins.KeyJoin.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> c)
           
 Value Expressions.Abs.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Count.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Avg.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Sqrt.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Max.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Min.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Size.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.DatabaseFunction.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Type.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Cast.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Concat.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Substring.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Locate.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Trim.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Sum.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Product.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Diff.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Quotient.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Mod.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.CurrentDate.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.CurrentTime.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.CurrentTimestamp.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Constant.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
(package private)  Value Expressions.IsEmpty.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
(package private)  Value Expressions.IsNotEmpty.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Index.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Coalesce.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Nullif.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Case.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.SimpleCase.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Lower.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Upper.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Length.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.All.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.Any.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Value Expressions.CastAs.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
 Arguments Expressions.ListArgument.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
           
(package private) abstract  Value ExpressionImpl.toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
          Bridge contract to convert this facade expression to a kernel value.
(package private) static Value Expressions.toValue(ExpressionImpl<?> e, ExpressionFactory factory, CriteriaQueryImpl<?> q)
          Convert the given Criteria expression to a corresponding kernel value using the given ExpressionFactory.
 



Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.