类 TSDBStatement
- java.lang.Object
-
- com.taosdata.jdbc.WrapperImpl
-
- com.taosdata.jdbc.AbstractStatement
-
- com.taosdata.jdbc.TSDBStatement
-
- 所有已实现的接口:
AutoCloseable,Statement,Wrapper
- 直接已知子类:
TSDBPreparedStatement
public class TSDBStatement extends AbstractStatement
-
-
字段概要
-
从类继承的字段 com.taosdata.jdbc.AbstractStatement
affectedRows, batchedArgs
-
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclose()booleanexecute(String sql)ResultSetexecuteQuery(String sql)intexecuteUpdate(String sql)ConnectiongetConnection()ResultSetgetResultSet()intgetUpdateCount()booleanisClosed()voidsetConnection(TSDBConnection connection)-
从类继承的方法 com.taosdata.jdbc.AbstractStatement
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, setQueryTimeout
-
从类继承的方法 com.taosdata.jdbc.WrapperImpl
isWrapperFor, unwrap
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 java.sql.Statement
enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, isSimpleIdentifier, setLargeMaxRows
-
从接口继承的方法 java.sql.Wrapper
isWrapperFor, unwrap
-
-
-
-
方法详细资料
-
executeQuery
public ResultSet executeQuery(String sql) throws SQLException
- 指定者:
executeQuery在接口中Statement- 指定者:
executeQuery在类中AbstractStatement- 抛出:
SQLException
-
executeUpdate
public int executeUpdate(String sql) throws SQLException
- 指定者:
executeUpdate在接口中Statement- 指定者:
executeUpdate在类中AbstractStatement- 抛出:
SQLException
-
close
public void close() throws SQLException- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Statement- 指定者:
close在类中AbstractStatement- 抛出:
SQLException
-
execute
public boolean execute(String sql) throws SQLException
- 指定者:
execute在接口中Statement- 指定者:
execute在类中AbstractStatement- 抛出:
SQLException
-
getResultSet
public ResultSet getResultSet() throws SQLException
- 指定者:
getResultSet在接口中Statement- 指定者:
getResultSet在类中AbstractStatement- 抛出:
SQLException
-
getUpdateCount
public int getUpdateCount() throws SQLException- 指定者:
getUpdateCount在接口中Statement- 指定者:
getUpdateCount在类中AbstractStatement- 抛出:
SQLException
-
getConnection
public Connection getConnection() throws SQLException
- 指定者:
getConnection在接口中Statement- 指定者:
getConnection在类中AbstractStatement- 抛出:
SQLException
-
setConnection
public void setConnection(TSDBConnection connection)
-
isClosed
public boolean isClosed() throws SQLException- 指定者:
isClosed在接口中Statement- 指定者:
isClosed在类中AbstractStatement- 抛出:
SQLException
-
-