public class TSDBStatement extends AbstractStatement
affectedRows, batchedArgsCLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
execute(String sql) |
boolean |
execute(String sql,
Long reqId) |
boolean |
executeImpl(String sql,
Long reqId) |
ResultSet |
executeQuery(String sql) |
ResultSet |
executeQuery(String sql,
Long reqId) |
int |
executeUpdate(String sql) |
int |
executeUpdate(String sql,
Long reqId) |
Connection |
getConnection() |
int |
getQueryTimeout() |
ResultSet |
getResultSet() |
int |
getUpdateCount() |
boolean |
isClosed() |
void |
setConnection(TSDBConnection connection) |
void |
setQueryTimeout(int queryTimeout) |
addBatch, cancel, clearBatch, clearWarnings, closeOnCompletion, execute, execute, execute, executeBatch, executeUpdate, executeUpdate, executeUpdate, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getWarnings, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolableisWrapperFor, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, setLargeMaxRowsisWrapperFor, unwrappublic ResultSet executeQuery(String sql) throws SQLException
executeQuery in interface StatementexecuteQuery in class AbstractStatementSQLExceptionpublic ResultSet executeQuery(String sql, Long reqId) throws SQLException
executeQuery in class AbstractStatementSQLExceptionpublic int executeUpdate(String sql) throws SQLException
executeUpdate in interface StatementexecuteUpdate in class AbstractStatementSQLExceptionpublic int executeUpdate(String sql, Long reqId) throws SQLException
executeUpdate in class AbstractStatementSQLExceptionpublic void setQueryTimeout(int queryTimeout)
throws SQLException
setQueryTimeout in interface StatementsetQueryTimeout in class AbstractStatementSQLExceptionpublic int getQueryTimeout()
throws SQLException
getQueryTimeout in interface StatementgetQueryTimeout in class AbstractStatementSQLExceptionpublic void close()
throws SQLException
close in interface AutoCloseableclose in interface Statementclose in class AbstractStatementSQLExceptionpublic boolean execute(String sql) throws SQLException
execute in interface Statementexecute in class AbstractStatementSQLExceptionpublic boolean execute(String sql, Long reqId) throws SQLException
execute in class AbstractStatementSQLExceptionpublic boolean executeImpl(String sql, Long reqId) throws SQLException
SQLExceptionpublic ResultSet getResultSet() throws SQLException
getResultSet in interface StatementgetResultSet in class AbstractStatementSQLExceptionpublic int getUpdateCount()
throws SQLException
getUpdateCount in interface StatementgetUpdateCount in class AbstractStatementSQLExceptionpublic Connection getConnection() throws SQLException
getConnection in interface StatementgetConnection in class AbstractStatementSQLExceptionpublic void setConnection(TSDBConnection connection)
public boolean isClosed()
throws SQLException
isClosed in interface StatementisClosed in class AbstractStatementSQLExceptionCopyright © 2023. All rights reserved.