com.alibaba.druid.pool
类 DruidPooledStatement
java.lang.Object
com.alibaba.druid.pool.PoolableWrapper
com.alibaba.druid.pool.DruidPooledStatement
- 所有已实现的接口:
- Statement, Wrapper
- 直接已知子类:
- DruidPooledPreparedStatement
public class DruidPooledStatement
- extends PoolableWrapper
- implements Statement
- 作者:
- wenshao
DruidPooledStatement
public DruidPooledStatement(DruidPooledConnection conn,
Statement stmt)
getFetchRowPeak
public int getFetchRowPeak()
getPoolableConnection
public DruidPooledConnection getPoolableConnection()
getStatement
public Statement getStatement()
incrementExecuteCount
public void incrementExecuteCount()
executeQuery
public final ResultSet executeQuery(String sql)
throws SQLException
- 指定者:
- 接口
Statement 中的 executeQuery
- 抛出:
SQLException
executeUpdate
public final int executeUpdate(String sql)
throws SQLException
- 指定者:
- 接口
Statement 中的 executeUpdate
- 抛出:
SQLException
executeUpdate
public final int executeUpdate(String sql,
int autoGeneratedKeys)
throws SQLException
- 指定者:
- 接口
Statement 中的 executeUpdate
- 抛出:
SQLException
executeUpdate
public final int executeUpdate(String sql,
int[] columnIndexes)
throws SQLException
- 指定者:
- 接口
Statement 中的 executeUpdate
- 抛出:
SQLException
executeUpdate
public final int executeUpdate(String sql,
String[] columnNames)
throws SQLException
- 指定者:
- 接口
Statement 中的 executeUpdate
- 抛出:
SQLException
execute
public final boolean execute(String sql,
int autoGeneratedKeys)
throws SQLException
- 指定者:
- 接口
Statement 中的 execute
- 抛出:
SQLException
execute
public final boolean execute(String sql,
int[] columnIndexes)
throws SQLException
- 指定者:
- 接口
Statement 中的 execute
- 抛出:
SQLException
execute
public final boolean execute(String sql,
String[] columnNames)
throws SQLException
- 指定者:
- 接口
Statement 中的 execute
- 抛出:
SQLException
getMaxFieldSize
public int getMaxFieldSize()
throws SQLException
- 指定者:
- 接口
Statement 中的 getMaxFieldSize
- 抛出:
SQLException
close
public void close()
throws SQLException
- 指定者:
- 接口
Statement 中的 close
- 抛出:
SQLException
setMaxFieldSize
public void setMaxFieldSize(int max)
throws SQLException
- 指定者:
- 接口
Statement 中的 setMaxFieldSize
- 抛出:
SQLException
getMaxRows
public final int getMaxRows()
throws SQLException
- 指定者:
- 接口
Statement 中的 getMaxRows
- 抛出:
SQLException
setMaxRows
public void setMaxRows(int max)
throws SQLException
- 指定者:
- 接口
Statement 中的 setMaxRows
- 抛出:
SQLException
setEscapeProcessing
public final void setEscapeProcessing(boolean enable)
throws SQLException
- 指定者:
- 接口
Statement 中的 setEscapeProcessing
- 抛出:
SQLException
getQueryTimeout
public final int getQueryTimeout()
throws SQLException
- 指定者:
- 接口
Statement 中的 getQueryTimeout
- 抛出:
SQLException
setQueryTimeout
public void setQueryTimeout(int seconds)
throws SQLException
- 指定者:
- 接口
Statement 中的 setQueryTimeout
- 抛出:
SQLException
cancel
public final void cancel()
throws SQLException
- 指定者:
- 接口
Statement 中的 cancel
- 抛出:
SQLException
getWarnings
public final SQLWarning getWarnings()
throws SQLException
- 指定者:
- 接口
Statement 中的 getWarnings
- 抛出:
SQLException
clearWarnings
public final void clearWarnings()
throws SQLException
- 指定者:
- 接口
Statement 中的 clearWarnings
- 抛出:
SQLException
setCursorName
public final void setCursorName(String name)
throws SQLException
- 指定者:
- 接口
Statement 中的 setCursorName
- 抛出:
SQLException
execute
public final boolean execute(String sql)
throws SQLException
- 指定者:
- 接口
Statement 中的 execute
- 抛出:
SQLException
getResultSet
public final ResultSet getResultSet()
throws SQLException
- 指定者:
- 接口
Statement 中的 getResultSet
- 抛出:
SQLException
getUpdateCount
public final int getUpdateCount()
throws SQLException
- 指定者:
- 接口
Statement 中的 getUpdateCount
- 抛出:
SQLException
getMoreResults
public final boolean getMoreResults()
throws SQLException
- 指定者:
- 接口
Statement 中的 getMoreResults
- 抛出:
SQLException
setFetchDirection
public void setFetchDirection(int direction)
throws SQLException
- 指定者:
- 接口
Statement 中的 setFetchDirection
- 抛出:
SQLException
getFetchDirection
public final int getFetchDirection()
throws SQLException
- 指定者:
- 接口
Statement 中的 getFetchDirection
- 抛出:
SQLException
setFetchSize
public void setFetchSize(int rows)
throws SQLException
- 指定者:
- 接口
Statement 中的 setFetchSize
- 抛出:
SQLException
getFetchSize
public final int getFetchSize()
throws SQLException
- 指定者:
- 接口
Statement 中的 getFetchSize
- 抛出:
SQLException
getResultSetConcurrency
public final int getResultSetConcurrency()
throws SQLException
- 指定者:
- 接口
Statement 中的 getResultSetConcurrency
- 抛出:
SQLException
getResultSetType
public final int getResultSetType()
throws SQLException
- 指定者:
- 接口
Statement 中的 getResultSetType
- 抛出:
SQLException
addBatch
public final void addBatch(String sql)
throws SQLException
- 指定者:
- 接口
Statement 中的 addBatch
- 抛出:
SQLException
clearBatch
public final void clearBatch()
throws SQLException
- 指定者:
- 接口
Statement 中的 clearBatch
- 抛出:
SQLException
executeBatch
public int[] executeBatch()
throws SQLException
- 指定者:
- 接口
Statement 中的 executeBatch
- 抛出:
SQLException
getConnection
public final Connection getConnection()
throws SQLException
- 指定者:
- 接口
Statement 中的 getConnection
- 抛出:
SQLException
getMoreResults
public final boolean getMoreResults(int current)
throws SQLException
- 指定者:
- 接口
Statement 中的 getMoreResults
- 抛出:
SQLException
getGeneratedKeys
public final ResultSet getGeneratedKeys()
throws SQLException
- 指定者:
- 接口
Statement 中的 getGeneratedKeys
- 抛出:
SQLException
getResultSetHoldability
public final int getResultSetHoldability()
throws SQLException
- 指定者:
- 接口
Statement 中的 getResultSetHoldability
- 抛出:
SQLException
isClosed
public final boolean isClosed()
throws SQLException
- 指定者:
- 接口
Statement 中的 isClosed
- 抛出:
SQLException
setPoolable
public final void setPoolable(boolean poolable)
throws SQLException
- 指定者:
- 接口
Statement 中的 setPoolable
- 抛出:
SQLException
isPoolable
public final boolean isPoolable()
throws SQLException
- 指定者:
- 接口
Statement 中的 isPoolable
- 抛出:
SQLException
toString
public String toString()
- 覆盖:
- 类
Object 中的 toString
closeOnCompletion
public void closeOnCompletion()
throws SQLException
- 抛出:
SQLException
isCloseOnCompletion
public boolean isCloseOnCompletion()
throws SQLException
- 抛出:
SQLException
Copyright © 2013-2014 Alibaba Group. All Rights Reserved.