public class JDBCQueryExecution extends JDBCBaseExecution implements ResultSetExecution
Modifier and Type | Field and Description |
---|---|
protected Class<?>[] |
columnDataTypes |
protected ResultSet |
results |
protected List<NamedTable> |
tempTables |
command, connection, context, executionFactory, fetchSize, statement, trimString
Constructor and Description |
---|
JDBCQueryExecution(Command command,
Connection connection,
ExecutionContext context,
JDBCExecutionFactory env) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Terminates the execution normally.
|
protected boolean |
createFullTempTables(QueryExpression qe,
boolean usingTxn) |
protected boolean |
createTempTables(Select select) |
void |
execute()
Execute the associated command.
|
List<?> |
next()
Retrieves the next row of the resultset.
|
addStatementWarnings, bind, cancel, getCallableStatement, getConnection, getPreparedStatement, getStatement, setSizeContraints, translateCommand
protected ResultSet results
protected Class<?>[] columnDataTypes
protected List<NamedTable> tempTables
public JDBCQueryExecution(Command command, Connection connection, ExecutionContext context, JDBCExecutionFactory env)
public void execute() throws TranslatorException
Execution
execute
in interface Execution
TranslatorException
protected boolean createFullTempTables(QueryExpression qe, boolean usingTxn) throws SQLException, TranslatorException
qe
- usingTxn
- SQLException
TranslatorException
protected boolean createTempTables(Select select) throws SQLException, TranslatorException
select
- SQLException
TranslatorException
public List<?> next() throws TranslatorException, DataNotAvailableException
ResultSetExecution
next
in interface ResultSetExecution
TranslatorException
DataNotAvailableException
public void close()
Execution
close
in interface Execution
close
in class JDBCBaseExecution
JDBCBaseExecution.close()
Copyright © 2017 JBoss by Red Hat. All rights reserved.