public class TracingStatementInterceptor extends Object implements com.mysql.jdbc.StatementInterceptorV2
| Constructor and Description |
|---|
TracingStatementInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
boolean |
executeTopLevelOnly()
MySQL exposes the host connecting to, but not the port.
|
void |
init(com.mysql.jdbc.Connection conn,
Properties props) |
com.mysql.jdbc.ResultSetInternalMethods |
postProcess(String sql,
com.mysql.jdbc.Statement interceptedStatement,
com.mysql.jdbc.ResultSetInternalMethods originalResultSet,
com.mysql.jdbc.Connection connection,
int warningCount,
boolean noIndexUsed,
boolean noGoodIndexUsed,
SQLException statementException) |
com.mysql.jdbc.ResultSetInternalMethods |
preProcess(String sql,
com.mysql.jdbc.Statement interceptedStatement,
com.mysql.jdbc.Connection connection) |
public com.mysql.jdbc.ResultSetInternalMethods preProcess(String sql, com.mysql.jdbc.Statement interceptedStatement, com.mysql.jdbc.Connection connection)
preProcess in interface com.mysql.jdbc.StatementInterceptorV2public com.mysql.jdbc.ResultSetInternalMethods postProcess(String sql, com.mysql.jdbc.Statement interceptedStatement, com.mysql.jdbc.ResultSetInternalMethods originalResultSet, com.mysql.jdbc.Connection connection, int warningCount, boolean noIndexUsed, boolean noGoodIndexUsed, SQLException statementException)
postProcess in interface com.mysql.jdbc.StatementInterceptorV2public boolean executeTopLevelOnly()
jdbc:mysql://localhost:5555/database, or 3306 if absent.executeTopLevelOnly in interface com.mysql.jdbc.StatementInterceptorV2public void init(com.mysql.jdbc.Connection conn,
Properties props)
init in interface com.mysql.jdbc.Extensioninit in interface com.mysql.jdbc.StatementInterceptorV2public void destroy()
destroy in interface com.mysql.jdbc.Extensiondestroy in interface com.mysql.jdbc.StatementInterceptorV2Copyright © 2018. All rights reserved.