Package org.teiid.translator.jpa
Class JPQLDirectQueryExecution
- java.lang.Object
-
- org.teiid.translator.jpa.JPQLBaseExecution
-
- org.teiid.translator.jpa.JPQLDirectQueryExecution
-
- All Implemented Interfaces:
Execution,ProcedureExecution,ResultSetExecution
public class JPQLDirectQueryExecution extends JPQLBaseExecution implements ProcedureExecution
-
-
Field Summary
-
Fields inherited from class org.teiid.translator.jpa.JPQLBaseExecution
enityManager, executionContext, metadata
-
-
Constructor Summary
Constructors Constructor Description JPQLDirectQueryExecution(List<Argument> arguments, Command command, ExecutionContext executionContext, RuntimeMetadata metadata, javax.persistence.EntityManager em, String query, boolean returnsArray)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()voidclose()voidexecute()List<?>getOutputParameterValues()List<?>next()
-
-
-
Constructor Detail
-
JPQLDirectQueryExecution
public JPQLDirectQueryExecution(List<Argument> arguments, Command command, ExecutionContext executionContext, RuntimeMetadata metadata, javax.persistence.EntityManager em, String query, boolean returnsArray)
-
-
Method Detail
-
execute
public void execute() throws TranslatorException- Specified by:
executein interfaceExecution- Throws:
TranslatorException
-
next
public List<?> next() throws TranslatorException, DataNotAvailableException
- Specified by:
nextin interfaceResultSetExecution- Throws:
TranslatorExceptionDataNotAvailableException
-
cancel
public void cancel() throws TranslatorException- Specified by:
cancelin interfaceExecution- Throws:
TranslatorException
-
getOutputParameterValues
public List<?> getOutputParameterValues() throws TranslatorException
- Specified by:
getOutputParameterValuesin interfaceProcedureExecution- Throws:
TranslatorException
-
-