public class StatementTracing extends Object
PreparedStatementTracing create an exit span when the client call the method in the class that extend Statement.| Modifier and Type | Class and Description |
|---|---|
static interface |
StatementTracing.Executable<R> |
| Constructor and Description |
|---|
StatementTracing() |
| Modifier and Type | Method and Description |
|---|---|
static <R> R |
execute(Statement realStatement,
ConnectionInfo connectInfo,
String method,
String sql,
StatementTracing.Executable<R> exec) |
public static <R> R execute(Statement realStatement, ConnectionInfo connectInfo, String method, String sql, StatementTracing.Executable<R> exec) throws SQLException
SQLExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.