类 DruidPooledStatement
java.lang.Object
com.alibaba.druid.pool.PoolableWrapper
com.alibaba.druid.pool.DruidPooledStatement
- 所有已实现的接口:
AutoCloseable,Statement,Wrapper
- 直接已知子类:
DruidPooledPreparedStatement
- 作者:
- wenshao [szujobs@hotmail.com]
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明final voidprotected voidaddResultSetTrace(ResultSet resultSet) final voidcancel()protected SQLExceptioncheckException(Throwable error) protected SQLExceptioncheckException(Throwable error, String sql) protected voidfinal voidprotected voidfinal voidvoidclose()voidprotected final voidfinal booleanfinal booleanfinal booleanfinal booleanint[]final ResultSetexecuteQuery(String sql) final intexecuteUpdate(String sql) final intexecuteUpdate(String sql, int autoGeneratedKeys) final intexecuteUpdate(String sql, int[] columnIndexes) final intexecuteUpdate(String sql, String[] columnNames) final Connectionfinal intintfinal intfinal ResultSetintfinal intfinal booleanfinal booleangetMoreResults(int current) final intfinal ResultSetfinal intfinal intfinal intfinal intfinal SQLWarningprotected voidhandleSocketTimeout(Throwable error) voidvoidvoidvoidfinal booleanisClosed()booleanfinal booleanprotected voidrecordFetchRowCount(int fetchRowCount) final voidsetCursorName(String name) final voidsetEscapeProcessing(boolean enable) voidsetFetchDirection(int direction) voidsetFetchSize(int rows) voidsetMaxFieldSize(int max) voidsetMaxRows(int max) final voidsetPoolable(boolean poolable) voidsetQueryTimeout(int seconds) toString()protected voidtransactionRecord(String sql) 从类继承的方法 com.alibaba.druid.pool.PoolableWrapper
isWrapperFor, unwrap从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait从接口继承的方法 java.sql.Statement
enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, isSimpleIdentifier, setLargeMaxRows从接口继承的方法 java.sql.Wrapper
isWrapperFor, unwrap
-
字段详细资料
-
conn
-
resultSetTrace
-
closed
protected boolean closed -
fetchRowPeak
protected int fetchRowPeak -
exceptionCount
protected int exceptionCount
-
-
构造器详细资料
-
DruidPooledStatement
-
-
方法详细资料
-
addResultSetTrace
-
recordFetchRowCount
protected void recordFetchRowCount(int fetchRowCount) -
getFetchRowPeak
public int getFetchRowPeak() -
checkException
- 抛出:
SQLException
-
checkException
- 抛出:
SQLException
-
handleSocketTimeout
- 抛出:
SQLException
-
getPoolableConnection
-
getStatement
-
checkOpen
- 抛出:
SQLException
-
clearResultSet
protected void clearResultSet() -
incrementExecuteCount
public void incrementExecuteCount() -
incrementExecuteBatchCount
public void incrementExecuteBatchCount() -
incrementExecuteUpdateCount
public void incrementExecuteUpdateCount() -
incrementExecuteQueryCount
public void incrementExecuteQueryCount() -
transactionRecord
- 抛出:
SQLException
-
executeQuery
- 指定者:
executeQuery在接口中Statement- 抛出:
SQLException
-
executeUpdate
- 指定者:
executeUpdate在接口中Statement- 抛出:
SQLException
-
errorCheck
-
executeUpdate
- 指定者:
executeUpdate在接口中Statement- 抛出:
SQLException
-
executeUpdate
- 指定者:
executeUpdate在接口中Statement- 抛出:
SQLException
-
executeUpdate
- 指定者:
executeUpdate在接口中Statement- 抛出:
SQLException
-
execute
- 指定者:
execute在接口中Statement- 抛出:
SQLException
-
execute
- 指定者:
execute在接口中Statement- 抛出:
SQLException
-
execute
- 指定者:
execute在接口中Statement- 抛出:
SQLException
-
getMaxFieldSize
- 指定者:
getMaxFieldSize在接口中Statement- 抛出:
SQLException
-
close
- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Statement- 抛出:
SQLException
-
setMaxFieldSize
- 指定者:
setMaxFieldSize在接口中Statement- 抛出:
SQLException
-
getMaxRows
- 指定者:
getMaxRows在接口中Statement- 抛出:
SQLException
-
setMaxRows
- 指定者:
setMaxRows在接口中Statement- 抛出:
SQLException
-
setEscapeProcessing
- 指定者:
setEscapeProcessing在接口中Statement- 抛出:
SQLException
-
getQueryTimeout
- 指定者:
getQueryTimeout在接口中Statement- 抛出:
SQLException
-
setQueryTimeout
- 指定者:
setQueryTimeout在接口中Statement- 抛出:
SQLException
-
cancel
- 指定者:
cancel在接口中Statement- 抛出:
SQLException
-
getWarnings
- 指定者:
getWarnings在接口中Statement- 抛出:
SQLException
-
clearWarnings
- 指定者:
clearWarnings在接口中Statement- 抛出:
SQLException
-
setCursorName
- 指定者:
setCursorName在接口中Statement- 抛出:
SQLException
-
execute
- 指定者:
execute在接口中Statement- 抛出:
SQLException
-
getResultSet
- 指定者:
getResultSet在接口中Statement- 抛出:
SQLException
-
getUpdateCount
- 指定者:
getUpdateCount在接口中Statement- 抛出:
SQLException
-
getMoreResults
- 指定者:
getMoreResults在接口中Statement- 抛出:
SQLException
-
setFetchDirection
- 指定者:
setFetchDirection在接口中Statement- 抛出:
SQLException
-
getFetchDirection
- 指定者:
getFetchDirection在接口中Statement- 抛出:
SQLException
-
setFetchSize
- 指定者:
setFetchSize在接口中Statement- 抛出:
SQLException
-
getFetchSize
- 指定者:
getFetchSize在接口中Statement- 抛出:
SQLException
-
getResultSetConcurrency
- 指定者:
getResultSetConcurrency在接口中Statement- 抛出:
SQLException
-
getResultSetType
- 指定者:
getResultSetType在接口中Statement- 抛出:
SQLException
-
addBatch
- 指定者:
addBatch在接口中Statement- 抛出:
SQLException
-
clearBatch
- 指定者:
clearBatch在接口中Statement- 抛出:
SQLException
-
executeBatch
- 指定者:
executeBatch在接口中Statement- 抛出:
SQLException
-
getConnection
- 指定者:
getConnection在接口中Statement- 抛出:
SQLException
-
getMoreResults
- 指定者:
getMoreResults在接口中Statement- 抛出:
SQLException
-
getGeneratedKeys
- 指定者:
getGeneratedKeys在接口中Statement- 抛出:
SQLException
-
getResultSetHoldability
- 指定者:
getResultSetHoldability在接口中Statement- 抛出:
SQLException
-
isClosed
- 指定者:
isClosed在接口中Statement- 抛出:
SQLException
-
setPoolable
- 指定者:
setPoolable在接口中Statement- 抛出:
SQLException
-
isPoolable
- 指定者:
isPoolable在接口中Statement- 抛出:
SQLException
-
toString
-
closeOnCompletion
- 指定者:
closeOnCompletion在接口中Statement- 抛出:
SQLException
-
isCloseOnCompletion
- 指定者:
isCloseOnCompletion在接口中Statement- 抛出:
SQLException
-