类 PreparedStatementProxyImpl
java.lang.Object
com.alibaba.druid.proxy.jdbc.WrapperProxyImpl
com.alibaba.druid.proxy.jdbc.StatementProxyImpl
com.alibaba.druid.proxy.jdbc.PreparedStatementProxyImpl
- 所有已实现的接口:
PreparedStatementProxy,StatementProxy,WrapperProxy,AutoCloseable,PreparedStatement,Statement,Wrapper
- 直接已知子类:
CallableStatementProxyImpl
public class PreparedStatementProxyImpl
extends StatementProxyImpl
implements PreparedStatementProxy
- 作者:
- wenshao [szujobs@hotmail.com]
-
字段概要
字段从类继承的字段 com.alibaba.druid.proxy.jdbc.StatementProxyImpl
batchSqlList, firstResultSet, lastExecuteSql, lastExecuteStartNano, lastExecuteTimeNano, lastExecuteType, sqlStat, updateCount -
构造器概要
构造器构造器说明PreparedStatementProxyImpl(ConnectionProxy connection, PreparedStatement statement, String sql, long id) -
方法概要
修饰符和类型方法说明voidaddBatch()voidcreateParameter(int sqlType, Object value, Calendar calendar) booleanexecute()intgetParameter(int i) intgetSql()booleanisWrapperFor(Class<?> iface) voidvoidsetAsciiStream(int parameterIndex, InputStream x) voidsetAsciiStream(int parameterIndex, InputStream x, int length) voidsetAsciiStream(int parameterIndex, InputStream x, long length) voidsetBigDecimal(int parameterIndex, BigDecimal x) voidsetBinaryStream(int parameterIndex, InputStream x) voidsetBinaryStream(int parameterIndex, InputStream x, int length) voidsetBinaryStream(int parameterIndex, InputStream x, long length) voidsetBlob(int parameterIndex, InputStream x) voidsetBlob(int parameterIndex, InputStream x, long length) voidvoidsetBoolean(int parameterIndex, boolean x) voidsetByte(int parameterIndex, byte x) voidsetBytes(int parameterIndex, byte[] x) voidsetCharacterStream(int parameterIndex, Reader x) voidsetCharacterStream(int parameterIndex, Reader x, int length) voidsetCharacterStream(int parameterIndex, Reader x, long length) voidvoidvoidvoidvoidvoidsetDouble(int parameterIndex, double x) voidsetFloat(int parameterIndex, float x) voidsetInt(int parameterIndex, int x) voidsetLong(int parameterIndex, long x) voidsetNCharacterStream(int parameterIndex, Reader x) voidsetNCharacterStream(int parameterIndex, Reader x, long length) voidvoidvoidvoidsetNString(int parameterIndex, String x) voidsetNull(int parameterIndex, int sqlType) voidvoidvoidvoidvoidsetParameter(int jdbcIndex, JdbcParameter parameter) voidvoidvoidsetShort(int parameterIndex, short x) voidprotected voidsetStatement(PreparedStatement statement) voidvoidvoidvoidsetTimestamp(int parameterIndex, Timestamp x) voidsetTimestamp(int parameterIndex, Timestamp x, Calendar cal) voidsetUnicodeStream(int parameterIndex, InputStream x, int length) void<T> T从类继承的方法 com.alibaba.druid.proxy.jdbc.StatementProxyImpl
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, createChain, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getBatchSqlList, getConnection, getConnectionProxy, getFetchDirection, getFetchSize, getGeneratedKeys, getLastExecuteStartNano, getLastExecuteTimeNano, getLastExecuteType, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getSqlStat, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isFirstResultSet, isPoolable, recycleFilterChain, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLastExecuteStartNano, setLastExecuteStartNano, setLastExecuteTimeNano, setLastExecuteTimeNano, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, setSqlStat从类继承的方法 com.alibaba.druid.proxy.jdbc.WrapperProxyImpl
clearAttributes, getAttribute, getAttributes, getAttributesSize, getId, putAttribute从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 java.sql.PreparedStatement
executeLargeUpdate, setObject, setObject从接口继承的方法 java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout从接口继承的方法 com.alibaba.druid.proxy.jdbc.StatementProxy
getBatchSqlList, getConnectionProxy, getLastExecuteStartNano, getLastExecuteTimeNano, getLastExecuteType, getSqlStat, isFirstResultSet, setLastExecuteStartNano, setLastExecuteStartNano, setLastExecuteTimeNano, setLastExecuteTimeNano, setSqlStat从接口继承的方法 com.alibaba.druid.proxy.jdbc.WrapperProxy
clearAttributes, getAttribute, getAttributes, getAttributesSize, getId, putAttribute
-
字段详细资料
-
sql
-
-
构造器详细资料
-
PreparedStatementProxyImpl
public PreparedStatementProxyImpl(ConnectionProxy connection, PreparedStatement statement, String sql, long id)
-
-
方法详细资料
-
getParameters
- 指定者:
getParameters在接口中PreparedStatementProxy- 指定者:
getParameters在接口中StatementProxy- 覆盖:
getParameters在类中StatementProxyImpl
-
setStatement
-
setParameter
-
getParametersSize
public int getParametersSize()- 指定者:
getParametersSize在接口中StatementProxy- 覆盖:
getParametersSize在类中StatementProxyImpl
-
getParameter
- 指定者:
getParameter在接口中StatementProxy- 覆盖:
getParameter在类中StatementProxyImpl
-
getSql
- 指定者:
getSql在接口中PreparedStatementProxy
-
getRawObject
- 指定者:
getRawObject在接口中PreparedStatementProxy- 指定者:
getRawObject在接口中StatementProxy- 指定者:
getRawObject在接口中WrapperProxy- 覆盖:
getRawObject在类中StatementProxyImpl
-
addBatch
- 指定者:
addBatch在接口中PreparedStatement- 抛出:
SQLException
-
clearParameters
- 指定者:
clearParameters在接口中PreparedStatement- 抛出:
SQLException
-
getBatchSql
- 指定者:
getBatchSql在接口中StatementProxy- 覆盖:
getBatchSql在类中StatementProxyImpl
-
execute
- 指定者:
execute在接口中PreparedStatement- 抛出:
SQLException
-
executeQuery
- 指定者:
executeQuery在接口中PreparedStatement- 抛出:
SQLException
-
executeUpdate
- 指定者:
executeUpdate在接口中PreparedStatement- 抛出:
SQLException
-
getMetaData
- 指定者:
getMetaData在接口中PreparedStatement- 抛出:
SQLException
-
getParameterMetaData
- 指定者:
getParameterMetaData在接口中PreparedStatement- 抛出:
SQLException
-
setArray
- 指定者:
setArray在接口中PreparedStatement- 抛出:
SQLException
-
setAsciiStream
- 指定者:
setAsciiStream在接口中PreparedStatement- 抛出:
SQLException
-
setAsciiStream
- 指定者:
setAsciiStream在接口中PreparedStatement- 抛出:
SQLException
-
setAsciiStream
- 指定者:
setAsciiStream在接口中PreparedStatement- 抛出:
SQLException
-
setBigDecimal
- 指定者:
setBigDecimal在接口中PreparedStatement- 抛出:
SQLException
-
setBinaryStream
- 指定者:
setBinaryStream在接口中PreparedStatement- 抛出:
SQLException
-
setBinaryStream
- 指定者:
setBinaryStream在接口中PreparedStatement- 抛出:
SQLException
-
setBinaryStream
- 指定者:
setBinaryStream在接口中PreparedStatement- 抛出:
SQLException
-
setBlob
- 指定者:
setBlob在接口中PreparedStatement- 抛出:
SQLException
-
setBlob
- 指定者:
setBlob在接口中PreparedStatement- 抛出:
SQLException
-
setBlob
- 指定者:
setBlob在接口中PreparedStatement- 抛出:
SQLException
-
setBoolean
- 指定者:
setBoolean在接口中PreparedStatement- 抛出:
SQLException
-
setByte
- 指定者:
setByte在接口中PreparedStatement- 抛出:
SQLException
-
setBytes
- 指定者:
setBytes在接口中PreparedStatement- 抛出:
SQLException
-
setCharacterStream
- 指定者:
setCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setCharacterStream
- 指定者:
setCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setCharacterStream
- 指定者:
setCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setClob
- 指定者:
setClob在接口中PreparedStatement- 抛出:
SQLException
-
setClob
- 指定者:
setClob在接口中PreparedStatement- 抛出:
SQLException
-
setClob
- 指定者:
setClob在接口中PreparedStatement- 抛出:
SQLException
-
setDate
- 指定者:
setDate在接口中PreparedStatement- 抛出:
SQLException
-
setDate
- 指定者:
setDate在接口中PreparedStatement- 抛出:
SQLException
-
setDouble
- 指定者:
setDouble在接口中PreparedStatement- 抛出:
SQLException
-
setFloat
- 指定者:
setFloat在接口中PreparedStatement- 抛出:
SQLException
-
setInt
- 指定者:
setInt在接口中PreparedStatement- 抛出:
SQLException
-
setLong
- 指定者:
setLong在接口中PreparedStatement- 抛出:
SQLException
-
setNCharacterStream
- 指定者:
setNCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setNCharacterStream
- 指定者:
setNCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setNClob
- 指定者:
setNClob在接口中PreparedStatement- 抛出:
SQLException
-
setNClob
- 指定者:
setNClob在接口中PreparedStatement- 抛出:
SQLException
-
setNClob
- 指定者:
setNClob在接口中PreparedStatement- 抛出:
SQLException
-
setNString
- 指定者:
setNString在接口中PreparedStatement- 抛出:
SQLException
-
setNull
- 指定者:
setNull在接口中PreparedStatement- 抛出:
SQLException
-
setNull
- 指定者:
setNull在接口中PreparedStatement- 抛出:
SQLException
-
setObject
- 指定者:
setObject在接口中PreparedStatement- 抛出:
SQLException
-
setObject
- 指定者:
setObject在接口中PreparedStatement- 抛出:
SQLException
-
setObject
public void setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength) throws SQLException - 指定者:
setObject在接口中PreparedStatement- 抛出:
SQLException
-
setRef
- 指定者:
setRef在接口中PreparedStatement- 抛出:
SQLException
-
setRowId
- 指定者:
setRowId在接口中PreparedStatement- 抛出:
SQLException
-
setSQLXML
- 指定者:
setSQLXML在接口中PreparedStatement- 抛出:
SQLException
-
setShort
- 指定者:
setShort在接口中PreparedStatement- 抛出:
SQLException
-
setString
- 指定者:
setString在接口中PreparedStatement- 抛出:
SQLException
-
setTime
- 指定者:
setTime在接口中PreparedStatement- 抛出:
SQLException
-
setTime
- 指定者:
setTime在接口中PreparedStatement- 抛出:
SQLException
-
setTimestamp
- 指定者:
setTimestamp在接口中PreparedStatement- 抛出:
SQLException
-
setTimestamp
- 指定者:
setTimestamp在接口中PreparedStatement- 抛出:
SQLException
-
setURL
- 指定者:
setURL在接口中PreparedStatement- 抛出:
SQLException
-
setUnicodeStream
- 指定者:
setUnicodeStream在接口中PreparedStatement- 抛出:
SQLException
-
getLastExecuteSql
- 指定者:
getLastExecuteSql在接口中StatementProxy- 覆盖:
getLastExecuteSql在类中StatementProxyImpl
-
unwrap
- 指定者:
unwrap在接口中Wrapper- 覆盖:
unwrap在类中StatementProxyImpl- 抛出:
SQLException
-
isWrapperFor
- 指定者:
isWrapperFor在接口中Wrapper- 覆盖:
isWrapperFor在类中StatementProxyImpl- 抛出:
SQLException
-
createParameter
-