org.openspaces.jpa.openjpa.query.executor
Class JpaQueryExecutorFactory
java.lang.Object
  
org.openspaces.jpa.openjpa.query.executor.JpaQueryExecutorFactory
public class JpaQueryExecutorFactory
- extends Object
 
A factory for creating a JpaQueryExecutor instance.
- Since:
 
  - 8.0
 
- Author:
 
  - idan
 
 
| 
Method Summary | 
static JpaQueryExecutor | 
newExecutor(org.apache.openjpa.kernel.exps.QueryExpressions expression,
            org.apache.openjpa.meta.ClassMetaData cm,
            Object[] parameters)
 
          Returns a new JpaQueryExecutor implementation instance based on the provided parameters. | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JpaQueryExecutorFactory
public JpaQueryExecutorFactory()
newExecutor
public static JpaQueryExecutor newExecutor(org.apache.openjpa.kernel.exps.QueryExpressions expression,
                                           org.apache.openjpa.meta.ClassMetaData cm,
                                           Object[] parameters)
- Returns a new JpaQueryExecutor implementation instance based on the provided parameters.
 If the provided expression tree requires aggregation - a JDBC executor is returned.
 Otherwise an SQLQuery executor is returned.
- Parameters:
 expression - The expression tree.cm - The queried class meta data.parameters - The user set parameters.
- Returns:
 - A JpaQueryExecutor implementation instance.
 
 
 
Copyright © GigaSpaces.