public class MySQLStatementInterceptor extends Object implements com.mysql.jdbc.StatementInterceptorV2
| Constructor and Description |
|---|
MySQLStatementInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
boolean |
executeTopLevelOnly() |
void |
init(com.mysql.jdbc.Connection connection,
Properties properties) |
com.mysql.jdbc.ResultSetInternalMethods |
postProcess(String s,
com.mysql.jdbc.Statement statement,
com.mysql.jdbc.ResultSetInternalMethods resultSetInternalMethods,
com.mysql.jdbc.Connection connection,
int warningCount,
boolean noIndexUsed,
boolean noGoodIndexUsed,
SQLException statementException) |
com.mysql.jdbc.ResultSetInternalMethods |
preProcess(String s,
com.mysql.jdbc.Statement statement,
com.mysql.jdbc.Connection connection) |
static void |
setNameProvider(QuerySpanNameProvider provider) |
static void |
setRequestInterceptor(com.github.kristofa.brave.ClientRequestInterceptor requestInterceptor) |
static void |
setResponseInterceptor(com.github.kristofa.brave.ClientResponseInterceptor responseInterceptor) |
static void |
setServerClientAndLocalSpanState(com.github.kristofa.brave.ServerClientAndLocalSpanState state) |
public static void setServerClientAndLocalSpanState(com.github.kristofa.brave.ServerClientAndLocalSpanState state)
public static void setRequestInterceptor(com.github.kristofa.brave.ClientRequestInterceptor requestInterceptor)
public static void setResponseInterceptor(com.github.kristofa.brave.ClientResponseInterceptor responseInterceptor)
public static void setNameProvider(QuerySpanNameProvider provider)
public com.mysql.jdbc.ResultSetInternalMethods preProcess(String s, com.mysql.jdbc.Statement statement, com.mysql.jdbc.Connection connection) throws SQLException
preProcess in interface com.mysql.jdbc.StatementInterceptorV2SQLExceptionpublic com.mysql.jdbc.ResultSetInternalMethods postProcess(String s, com.mysql.jdbc.Statement statement, com.mysql.jdbc.ResultSetInternalMethods resultSetInternalMethods, com.mysql.jdbc.Connection connection, int warningCount, boolean noIndexUsed, boolean noGoodIndexUsed, SQLException statementException) throws SQLException
postProcess in interface com.mysql.jdbc.StatementInterceptorV2SQLExceptionpublic boolean executeTopLevelOnly()
executeTopLevelOnly in interface com.mysql.jdbc.StatementInterceptorV2public void init(com.mysql.jdbc.Connection connection,
Properties properties)
throws SQLException
init in interface com.mysql.jdbc.Extensioninit in interface com.mysql.jdbc.StatementInterceptorV2SQLExceptionpublic void destroy()
destroy in interface com.mysql.jdbc.Extensiondestroy in interface com.mysql.jdbc.StatementInterceptorV2Copyright © 2016–2017 SmartThingsOSS. All rights reserved.