public class StatementTracer extends Object
Constructor and Description |
---|
StatementTracer(TraceOutput out) |
Modifier and Type | Method and Description |
---|---|
void |
addBatch(String sql) |
void |
addBatch(Throwable cause,
String sql) |
void |
cancel() |
void |
cancel(Throwable cause) |
void |
clearBatch() |
void |
clearBatch(Throwable cause) |
void |
clearWarnings() |
void |
clearWarnings(Throwable cause) |
void |
close() |
void |
close(Throwable cause) |
void |
closeOnCompletion() |
void |
closeOnCompletion(Throwable cause) |
void |
execute(boolean result,
String sql) |
void |
execute(boolean result,
String sql,
int autoGeneratedKeys) |
void |
execute(boolean result,
String sql,
int[] columnIndexes) |
void |
execute(boolean result,
String sql,
String[] columnNames) |
void |
execute(Throwable cause,
String sql) |
void |
execute(Throwable cause,
String sql,
int autoGeneratedKeys) |
void |
execute(Throwable cause,
String sql,
int[] columnIndexes) |
void |
execute(Throwable cause,
String sql,
String[] columnNames) |
void |
executeBatch(int[] result) |
void |
executeBatch(Throwable cause) |
void |
executeLargeBatch(long[] result) |
void |
executeLargeBatch(Throwable cause) |
void |
executeLargeUpdate(long result,
String sql) |
void |
executeLargeUpdate(long result,
String sql,
int autoGeneratedKeys) |
void |
executeLargeUpdate(long result,
String sql,
int[] columnIndexes) |
void |
executeLargeUpdate(long result,
String sql,
String[] columnNames) |
void |
executeLargeUpdate(Throwable cause,
String sql) |
void |
executeLargeUpdate(Throwable cause,
String sql,
int autoGeneratedKeys) |
void |
executeLargeUpdate(Throwable cause,
String sql,
int[] columnIndexes) |
void |
executeLargeUpdate(Throwable cause,
String sql,
String[] columnNames) |
void |
executeQuery(ResultSet result,
String sql) |
void |
executeQuery(Throwable cause,
String sql) |
void |
executeUpdate(int result,
String sql) |
void |
executeUpdate(int result,
String sql,
int autoGeneratedKeys) |
void |
executeUpdate(int result,
String sql,
int[] columnIndexes) |
void |
executeUpdate(int result,
String sql,
String[] columnNames) |
void |
executeUpdate(Throwable cause,
String sql) |
void |
executeUpdate(Throwable cause,
String sql,
int autoGeneratedKeys) |
void |
executeUpdate(Throwable cause,
String sql,
int[] columnIndexes) |
void |
executeUpdate(Throwable cause,
String sql,
String[] columnNames) |
void |
getConnection(Connection result) |
void |
getConnection(Throwable cause) |
void |
getFetchDirection(int result) |
void |
getFetchDirection(Throwable cause) |
void |
getFetchSize(int result) |
void |
getFetchSize(Throwable cause) |
void |
getGeneratedKeys(ResultSet result) |
void |
getGeneratedKeys(Throwable cause) |
void |
getLargeMaxRows(long result) |
void |
getLargeMaxRows(Throwable cause) |
void |
getLargeUpdateCount(long result) |
void |
getLargeUpdateCount(Throwable cause) |
void |
getMaxFieldSize(int result) |
void |
getMaxFieldSize(Throwable cause) |
void |
getMaxRows(int result) |
void |
getMaxRows(Throwable cause) |
void |
getMoreResults(boolean result) |
void |
getMoreResults(boolean result,
int current) |
void |
getMoreResults(Throwable cause) |
void |
getMoreResults(Throwable cause,
int current) |
void |
getQueryTimeout(int result) |
void |
getQueryTimeout(Throwable cause) |
void |
getResultSet(ResultSet result) |
void |
getResultSet(Throwable cause) |
void |
getResultSetConcurrency(int result) |
void |
getResultSetConcurrency(Throwable cause) |
void |
getResultSetHoldability(int result) |
void |
getResultSetHoldability(Throwable cause) |
void |
getResultSetType(int result) |
void |
getResultSetType(Throwable cause) |
void |
getUpdateCount(int result) |
void |
getUpdateCount(Throwable cause) |
void |
getWarnings(SQLWarning result) |
void |
getWarnings(Throwable cause) |
void |
isClosed(boolean result) |
void |
isClosed(Throwable cause) |
void |
isCloseOnCompletion(boolean result) |
void |
isCloseOnCompletion(Throwable cause) |
void |
isPoolable(boolean result) |
void |
isPoolable(Throwable cause) |
void |
isWrapperFor(boolean result,
Class<?> iface) |
void |
isWrapperFor(Throwable cause,
Class<?> iface) |
com.impossibl.jdbc.spy.ConnectionListener |
newConnectionListener() |
com.impossibl.jdbc.spy.ResultSetListener |
newResultSetListener() |
void |
setCursorName(String name) |
void |
setCursorName(Throwable cause,
String name) |
void |
setEscapeProcessing(boolean enable) |
void |
setEscapeProcessing(Throwable cause,
boolean enable) |
void |
setFetchDirection(int direction) |
void |
setFetchDirection(Throwable cause,
int direction) |
void |
setFetchSize(int rows) |
void |
setFetchSize(Throwable cause,
int rows) |
void |
setLargeMaxRows(long max) |
void |
setLargeMaxRows(Throwable cause,
long max) |
void |
setMaxFieldSize(int max) |
void |
setMaxFieldSize(Throwable cause,
int max) |
void |
setMaxRows(int max) |
void |
setMaxRows(Throwable cause,
int max) |
void |
setPoolable(boolean poolable) |
void |
setPoolable(Throwable cause,
boolean poolable) |
void |
setQueryTimeout(int seconds) |
void |
setQueryTimeout(Throwable cause,
int seconds) |
void |
trace(Trace trace) |
<T> void |
unwrap(T result,
Class<T> iface) |
<T> void |
unwrap(Throwable cause,
Class<T> iface) |
public StatementTracer(TraceOutput out)
public void trace(Trace trace)
public void executeUpdate(int result, String sql, int autoGeneratedKeys)
public void getUpdateCount(int result)
public void getUpdateCount(Throwable cause)
public void getLargeUpdateCount(long result)
public void getLargeUpdateCount(Throwable cause)
public void getLargeMaxRows(long result)
public void getLargeMaxRows(Throwable cause)
public void getResultSet(ResultSet result)
public void getResultSet(Throwable cause)
public void executeBatch(int[] result)
public void executeBatch(Throwable cause)
public void getFetchSize(int result)
public void getFetchSize(Throwable cause)
public void executeLargeUpdate(long result, String sql, int[] columnIndexes)
public void getFetchDirection(int result)
public void getFetchDirection(Throwable cause)
public void getGeneratedKeys(ResultSet result)
public void getGeneratedKeys(Throwable cause)
public void getMoreResults(boolean result)
public void getMoreResults(Throwable cause)
public void getMaxRows(int result)
public void getMaxRows(Throwable cause)
public void setEscapeProcessing(boolean enable)
public void setEscapeProcessing(Throwable cause, boolean enable)
public void executeLargeUpdate(long result, String sql, int autoGeneratedKeys)
public void executeLargeUpdate(Throwable cause, String sql, int autoGeneratedKeys)
public void executeUpdate(int result, String sql)
public void getConnection(Connection result)
public void getConnection(Throwable cause)
public <T> void unwrap(T result, Class<T> iface)
public void addBatch(String sql)
public void execute(boolean result, String sql, int autoGeneratedKeys)
public void closeOnCompletion()
public void closeOnCompletion(Throwable cause)
public void setCursorName(String name)
public void getMoreResults(boolean result, int current)
public void getMoreResults(Throwable cause, int current)
public void executeLargeBatch(long[] result)
public void executeLargeBatch(Throwable cause)
public void execute(boolean result, String sql, int[] columnIndexes)
public void setPoolable(boolean poolable)
public void setPoolable(Throwable cause, boolean poolable)
public void getResultSetHoldability(int result)
public void getResultSetHoldability(Throwable cause)
public void cancel()
public void cancel(Throwable cause)
public void isCloseOnCompletion(boolean result)
public void isCloseOnCompletion(Throwable cause)
public void setMaxRows(int max)
public void setMaxRows(Throwable cause, int max)
public void setFetchDirection(int direction)
public void setFetchDirection(Throwable cause, int direction)
public void executeLargeUpdate(Throwable cause, String sql, String[] columnNames)
public void setMaxFieldSize(int max)
public void setMaxFieldSize(Throwable cause, int max)
public void execute(boolean result, String sql)
public void close()
public void close(Throwable cause)
public void getMaxFieldSize(int result)
public void getMaxFieldSize(Throwable cause)
public void getQueryTimeout(int result)
public void getQueryTimeout(Throwable cause)
public void isPoolable(boolean result)
public void isPoolable(Throwable cause)
public void isClosed(boolean result)
public void isClosed(Throwable cause)
public void executeUpdate(int result, String sql, int[] columnIndexes)
public void executeLargeUpdate(long result, String sql)
public void setLargeMaxRows(long max)
public void setLargeMaxRows(Throwable cause, long max)
public void getResultSetConcurrency(int result)
public void getResultSetConcurrency(Throwable cause)
public void isWrapperFor(boolean result, Class<?> iface)
public void setFetchSize(int rows)
public void setFetchSize(Throwable cause, int rows)
public void clearBatch()
public void clearBatch(Throwable cause)
public void getWarnings(SQLWarning result)
public void getWarnings(Throwable cause)
public void setQueryTimeout(int seconds)
public void setQueryTimeout(Throwable cause, int seconds)
public void clearWarnings()
public void clearWarnings(Throwable cause)
public void getResultSetType(int result)
public void getResultSetType(Throwable cause)
public com.impossibl.jdbc.spy.ResultSetListener newResultSetListener()
public com.impossibl.jdbc.spy.ConnectionListener newConnectionListener()