类 WSStatement
- java.lang.Object
-
- com.taosdata.jdbc.WrapperImpl
-
- com.taosdata.jdbc.AbstractStatement
-
- com.taosdata.jdbc.ws.WSStatement
-
- 所有已实现的接口:
AutoCloseable,Statement,Wrapper
public class WSStatement extends AbstractStatement
-
-
字段概要
-
从类继承的字段 com.taosdata.jdbc.AbstractStatement
affectedRows, batchedArgs
-
-
构造器概要
构造器 构造器 说明 WSStatement(Transport transport, String database, Connection connection, RequestFactory factory)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclose()booleanexecute(String sql)ResultSetexecuteQuery(String sql)intexecuteUpdate(String sql)ConnectiongetConnection()ResultSetgetResultSet()intgetUpdateCount()booleanisClosed()-
从类继承的方法 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
-
-
-
-
构造器详细资料
-
WSStatement
public WSStatement(Transport transport, String database, Connection connection, RequestFactory factory)
-
-
方法详细资料
-
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
-
isClosed
public boolean isClosed() throws SQLException- 指定者:
isClosed在接口中Statement- 指定者:
isClosed在类中AbstractStatement- 抛出:
SQLException
-
-