public class JDBCQueryExecution extends JDBCBaseExecution implements org.teiid.translator.ResultSetExecution
| Modifier and Type | Field and Description |
|---|---|
protected Class<?>[] |
columnDataTypes |
protected ResultSet |
results |
protected List<org.teiid.language.NamedTable> |
tempTables |
command, connection, context, executionFactory, fetchSize, statement, trimString| Constructor and Description |
|---|
JDBCQueryExecution(org.teiid.language.Command command,
Connection connection,
org.teiid.translator.ExecutionContext context,
JDBCExecutionFactory env) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected boolean |
createFullTempTables(org.teiid.language.QueryExpression qe,
boolean usingTxn) |
protected boolean |
createTempTables(org.teiid.language.Select select) |
void |
execute() |
List<?> |
next() |
addStatementWarnings, bind, cancel, getCallableStatement, getConnection, getPreparedStatement, getStatement, setSizeContraints, translateCommandprotected ResultSet results
protected Class<?>[] columnDataTypes
protected List<org.teiid.language.NamedTable> tempTables
public JDBCQueryExecution(org.teiid.language.Command command,
Connection connection,
org.teiid.translator.ExecutionContext context,
JDBCExecutionFactory env)
public void execute()
throws org.teiid.translator.TranslatorException
execute in interface org.teiid.translator.Executionorg.teiid.translator.TranslatorExceptionprotected boolean createFullTempTables(org.teiid.language.QueryExpression qe,
boolean usingTxn)
throws SQLException,
org.teiid.translator.TranslatorException
qe - usingTxn - SQLExceptionorg.teiid.translator.TranslatorExceptionprotected boolean createTempTables(org.teiid.language.Select select)
throws SQLException,
org.teiid.translator.TranslatorException
select - SQLExceptionorg.teiid.translator.TranslatorExceptionpublic List<?> next() throws org.teiid.translator.TranslatorException, org.teiid.translator.DataNotAvailableException
next in interface org.teiid.translator.ResultSetExecutionorg.teiid.translator.TranslatorExceptionorg.teiid.translator.DataNotAvailableExceptionpublic void close()
close in interface org.teiid.translator.Executionclose in class JDBCBaseExecutionJDBCBaseExecution.close()Copyright © 2018 JBoss by Red Hat. All rights reserved.