类 SWPreparedStatement
java.lang.Object
org.apache.skywalking.apm.plugin.jdbc.trace.SWPreparedStatement
- 所有已实现的接口:
AutoCloseable,PreparedStatement,Statement,Wrapper
SWPreparedStatement wrapper the PreparedStatement created by client. and it will interceptor the
following methods for trace. 1. execute() 2. execute(String) 3. execute(String, int[]) 4.
execute(String, String[]) 5. execute(String, int) 6. executeQuery() 7. executeQuery(String) 8. executeUpdate() 9. executeUpdate(String) 10. executeUpdate(String, int[]) 11. executeUpdate(String, String[]) 12. executeUpdate(String, int)
13. addBatch() 14. addBatch(String) ()}-
字段概要
-
构造器概要
构造器构造器说明SWPreparedStatement(Connection realConnection, PreparedStatement realStatement, ConnectionInfo connectInfo, String sql) -
方法概要
修饰符和类型方法说明voidaddBatch()voidvoidcancel()voidvoidvoidvoidclose()voidbooleanexecute()booleanbooleanbooleanbooleanint[]executeQuery(String sql) intintexecuteUpdate(String sql) intexecuteUpdate(String sql, int autoGeneratedKeys) intexecuteUpdate(String sql, int[] columnIndexes) intexecuteUpdate(String sql, String[] columnNames) intintintintbooleanbooleangetMoreResults(int current) intintintintintbooleanisClosed()booleanbooleanbooleanisWrapperFor(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 inputStream) voidsetBlob(int parameterIndex, InputStream inputStream, long length) voidvoidsetBoolean(int parameterIndex, boolean x) voidsetByte(int parameterIndex, byte x) voidsetBytes(int parameterIndex, byte[] x) voidsetCharacterStream(int parameterIndex, Reader reader) voidsetCharacterStream(int parameterIndex, Reader reader, int length) voidsetCharacterStream(int parameterIndex, Reader reader, long length) voidvoidvoidvoidsetCursorName(String name) voidvoidvoidsetDouble(int parameterIndex, double x) voidsetEscapeProcessing(boolean enable) voidsetFetchDirection(int direction) voidsetFetchSize(int rows) voidsetFloat(int parameterIndex, float x) voidsetInt(int parameterIndex, int x) voidsetLong(int parameterIndex, long x) voidsetMaxFieldSize(int max) voidsetMaxRows(int max) voidsetNCharacterStream(int parameterIndex, Reader value) voidsetNCharacterStream(int parameterIndex, Reader value, long length) voidvoidvoidvoidsetNString(int parameterIndex, String value) voidsetNull(int parameterIndex, int sqlType) voidvoidvoidvoidvoidsetPoolable(boolean poolable) voidsetQueryTimeout(int seconds) voidvoidvoidsetShort(int parameterIndex, short x) voidvoidvoidvoidvoidsetTimestamp(int parameterIndex, Timestamp x) voidsetTimestamp(int parameterIndex, Timestamp x, Calendar cal) voidsetUnicodeStream(int parameterIndex, InputStream x, int length) 已过时。void<T> T从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 java.sql.PreparedStatement
executeLargeUpdate, setObject, setObject
-
构造器详细资料
-
SWPreparedStatement
public SWPreparedStatement(Connection realConnection, PreparedStatement realStatement, ConnectionInfo connectInfo, String sql)
-
-
方法详细资料
-
executeQuery
- 指定者:
executeQuery在接口中Statement- 抛出:
SQLException
-
executeUpdate
- 指定者:
executeUpdate在接口中Statement- 抛出:
SQLException
-
close
- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Statement- 抛出:
SQLException
-
getMaxFieldSize
- 指定者:
getMaxFieldSize在接口中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
-
executeUpdate
- 指定者:
executeUpdate在接口中Statement- 抛出:
SQLException
-
executeUpdate
- 指定者:
executeUpdate在接口中Statement- 抛出:
SQLException
-
executeUpdate
- 指定者:
executeUpdate在接口中Statement- 抛出:
SQLException
-
execute
- 指定者:
execute在接口中Statement- 抛出:
SQLException
-
execute
- 指定者:
execute在接口中Statement- 抛出:
SQLException
-
execute
- 指定者:
execute在接口中Statement- 抛出:
SQLException
-
getResultSetHoldability
- 指定者:
getResultSetHoldability在接口中Statement- 抛出:
SQLException
-
isClosed
- 指定者:
isClosed在接口中Statement- 抛出:
SQLException
-
setPoolable
- 指定者:
setPoolable在接口中Statement- 抛出:
SQLException
-
isPoolable
- 指定者:
isPoolable在接口中Statement- 抛出:
SQLException
-
closeOnCompletion
- 指定者:
closeOnCompletion在接口中Statement- 抛出:
SQLException
-
isCloseOnCompletion
- 指定者:
isCloseOnCompletion在接口中Statement- 抛出:
SQLException
-
unwrap
- 指定者:
unwrap在接口中Wrapper- 抛出:
SQLException
-
isWrapperFor
- 指定者:
isWrapperFor在接口中Wrapper- 抛出:
SQLException
-
executeQuery
- 指定者:
executeQuery在接口中PreparedStatement- 抛出:
SQLException
-
executeUpdate
- 指定者:
executeUpdate在接口中PreparedStatement- 抛出:
SQLException
-
setNull
- 指定者:
setNull在接口中PreparedStatement- 抛出:
SQLException
-
setBoolean
- 指定者:
setBoolean在接口中PreparedStatement- 抛出:
SQLException
-
setByte
- 指定者:
setByte在接口中PreparedStatement- 抛出:
SQLException
-
setShort
- 指定者:
setShort在接口中PreparedStatement- 抛出:
SQLException
-
setInt
- 指定者:
setInt在接口中PreparedStatement- 抛出:
SQLException
-
setLong
- 指定者:
setLong在接口中PreparedStatement- 抛出:
SQLException
-
setFloat
- 指定者:
setFloat在接口中PreparedStatement- 抛出:
SQLException
-
setDouble
- 指定者:
setDouble在接口中PreparedStatement- 抛出:
SQLException
-
setBigDecimal
- 指定者:
setBigDecimal在接口中PreparedStatement- 抛出:
SQLException
-
setString
- 指定者:
setString在接口中PreparedStatement- 抛出:
SQLException
-
setBytes
- 指定者:
setBytes在接口中PreparedStatement- 抛出:
SQLException
-
setDate
- 指定者:
setDate在接口中PreparedStatement- 抛出:
SQLException
-
setTime
- 指定者:
setTime在接口中PreparedStatement- 抛出:
SQLException
-
setTimestamp
- 指定者:
setTimestamp在接口中PreparedStatement- 抛出:
SQLException
-
setAsciiStream
- 指定者:
setAsciiStream在接口中PreparedStatement- 抛出:
SQLException
-
setUnicodeStream
@Deprecated public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException 已过时。- 指定者:
setUnicodeStream在接口中PreparedStatement- 抛出:
SQLException
-
setBinaryStream
- 指定者:
setBinaryStream在接口中PreparedStatement- 抛出:
SQLException
-
clearParameters
- 指定者:
clearParameters在接口中PreparedStatement- 抛出:
SQLException
-
setObject
- 指定者:
setObject在接口中PreparedStatement- 抛出:
SQLException
-
setObject
- 指定者:
setObject在接口中PreparedStatement- 抛出:
SQLException
-
execute
- 指定者:
execute在接口中PreparedStatement- 抛出:
SQLException
-
addBatch
- 指定者:
addBatch在接口中PreparedStatement- 抛出:
SQLException
-
setCharacterStream
- 指定者:
setCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setRef
- 指定者:
setRef在接口中PreparedStatement- 抛出:
SQLException
-
setBlob
- 指定者:
setBlob在接口中PreparedStatement- 抛出:
SQLException
-
setClob
- 指定者:
setClob在接口中PreparedStatement- 抛出:
SQLException
-
setArray
- 指定者:
setArray在接口中PreparedStatement- 抛出:
SQLException
-
getMetaData
- 指定者:
getMetaData在接口中PreparedStatement- 抛出:
SQLException
-
setDate
- 指定者:
setDate在接口中PreparedStatement- 抛出:
SQLException
-
setTime
- 指定者:
setTime在接口中PreparedStatement- 抛出:
SQLException
-
setTimestamp
- 指定者:
setTimestamp在接口中PreparedStatement- 抛出:
SQLException
-
setNull
- 指定者:
setNull在接口中PreparedStatement- 抛出:
SQLException
-
setURL
- 指定者:
setURL在接口中PreparedStatement- 抛出:
SQLException
-
getParameterMetaData
- 指定者:
getParameterMetaData在接口中PreparedStatement- 抛出:
SQLException
-
setRowId
- 指定者:
setRowId在接口中PreparedStatement- 抛出:
SQLException
-
setNString
- 指定者:
setNString在接口中PreparedStatement- 抛出:
SQLException
-
setNCharacterStream
- 指定者:
setNCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setNClob
- 指定者:
setNClob在接口中PreparedStatement- 抛出:
SQLException
-
setClob
- 指定者:
setClob在接口中PreparedStatement- 抛出:
SQLException
-
setBlob
- 指定者:
setBlob在接口中PreparedStatement- 抛出:
SQLException
-
setNClob
- 指定者:
setNClob在接口中PreparedStatement- 抛出:
SQLException
-
setSQLXML
- 指定者:
setSQLXML在接口中PreparedStatement- 抛出:
SQLException
-
setObject
public void setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength) throws SQLException - 指定者:
setObject在接口中PreparedStatement- 抛出:
SQLException
-
setAsciiStream
- 指定者:
setAsciiStream在接口中PreparedStatement- 抛出:
SQLException
-
setBinaryStream
- 指定者:
setBinaryStream在接口中PreparedStatement- 抛出:
SQLException
-
setCharacterStream
- 指定者:
setCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setAsciiStream
- 指定者:
setAsciiStream在接口中PreparedStatement- 抛出:
SQLException
-
setBinaryStream
- 指定者:
setBinaryStream在接口中PreparedStatement- 抛出:
SQLException
-
setCharacterStream
- 指定者:
setCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setNCharacterStream
- 指定者:
setNCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setClob
- 指定者:
setClob在接口中PreparedStatement- 抛出:
SQLException
-
setBlob
- 指定者:
setBlob在接口中PreparedStatement- 抛出:
SQLException
-
setNClob
- 指定者:
setNClob在接口中PreparedStatement- 抛出:
SQLException
-