org.teiid.translator.jdbc
Class JDBCProcedureExecution
java.lang.Object
org.teiid.translator.jdbc.JDBCBaseExecution
org.teiid.translator.jdbc.JDBCQueryExecution
org.teiid.translator.jdbc.JDBCProcedureExecution
- All Implemented Interfaces:
- Execution, ProcedureExecution, ResultSetExecution
public class JDBCProcedureExecution
- extends JDBCQueryExecution
- implements ProcedureExecution
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCProcedureExecution
public JDBCProcedureExecution(Command command,
Connection connection,
ExecutionContext context,
JDBCExecutionFactory env)
- Parameters:
connection
- sqlTranslator
- logger
- props
- id
-
execute
public void execute()
throws TranslatorException
- Description copied from interface:
Execution
- Execute the associated command. Results will be retrieved through a specific sub-interface call.
- Specified by:
execute
in interface Execution
- Overrides:
execute
in class JDBCQueryExecution
- Throws:
TranslatorException
next
public List<?> next()
throws TranslatorException,
DataNotAvailableException
- Description copied from interface:
ResultSetExecution
- Retrieves the next row of the resultset.
- Specified by:
next
in interface ResultSetExecution
- Overrides:
next
in class JDBCQueryExecution
- Returns:
- the next row or null indicating that there are no more results
- Throws:
TranslatorException
DataNotAvailableException
getOutputParameterValues
public List<?> getOutputParameterValues()
throws TranslatorException
- Description copied from interface:
ProcedureExecution
- Get the output parameter values. Results should place the return parameter
first if it is present, then the IN/OUT and OUT parameters should follow in
the order they appeared in the command.
- Specified by:
getOutputParameterValues
in interface ProcedureExecution
- Throws:
TranslatorException
- If an error occurs while retrieving the output value
Copyright © 2012. All Rights Reserved.