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) |
ResultSet |
executeQuery(String sql) |
int |
executeUpdate(String sql) |
Connection |
getConnection() |
ResultSet |
getResultSet() |
int |
getUpdateCount() |
boolean |
isClosed() |
void |
setConnection(TSDBConnection connection) |
addBatch, cancel, clearBatch, clearWarnings, closeOnCompletion, execute, execute, execute, executeBatch, executeUpdate, executeUpdate, executeUpdate, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getWarnings, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutisWrapperFor, 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 int executeUpdate(String sql) throws SQLException
executeUpdate in interface StatementexecuteUpdate 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 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 © 2021. All rights reserved.