@Override public Statement createStatement() throws SQLException { return new LoggingPhoenixStatement(super.createStatement(), phoenixMetricsLog, this); }
@Override public boolean execute(String sql) throws SQLException { boolean result; this.sql = sql; result = super.execute(sql); this.loggingAutoCommitHelper(); return result; }
@Override public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { return new LoggingPhoenixStatement( super.createStatement(resultSetType, resultSetConcurrency, resultSetHoldability), phoenixMetricsLog, this); }
@Override public int executeUpdate(String sql) throws SQLException { int result; this.sql = sql; result = super.executeUpdate(sql); this.loggingAutoCommitHelper(); return result; }
@Override public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException { return new LoggingPhoenixStatement( super.createStatement(resultSetType, resultSetConcurrency), phoenixMetricsLog, this); }
@Override public ResultSet executeQuery(String sql) throws SQLException { this.sql = sql; ResultSet rs = new LoggingPhoenixResultSet(super.executeQuery(sql), phoenixMetricsLog, this.sql); this.loggingAutoCommitHelper(); return rs; }
@Override public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { return new LoggingPhoenixStatement( super.createStatement(resultSetType, resultSetConcurrency, resultSetHoldability), phoenixMetricsLog, this); }
@Override public boolean execute(String sql) throws SQLException { boolean result; this.sql = sql; result = super.execute(sql); this.loggingAutoCommitHelper(); return result; }
@Override public Statement createStatement() throws SQLException { return new LoggingPhoenixStatement(super.createStatement(), phoenixMetricsLog); }
@Override public int executeUpdate(String sql) throws SQLException { int result; this.sql = sql; result = super.executeUpdate(sql); this.loggingAutoCommitHelper(); return result; }
@Override public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException { return new LoggingPhoenixStatement( super.createStatement(resultSetType, resultSetConcurrency), phoenixMetricsLog); }
@Override public ResultSet executeQuery(String sql) throws SQLException { this.sql = sql; ResultSet rs = new LoggingPhoenixResultSet(super.executeQuery(sql), phoenixMetricsLog, this.sql); this.loggingAutoCommitHelper(); return rs; }
@Override public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { return new LoggingPhoenixStatement( super.createStatement(resultSetType, resultSetConcurrency, resultSetHoldability), phoenixMetricsLog); }
@Override public Statement createStatement() throws SQLException { return new LoggingPhoenixStatement(super.createStatement(), phoenixMetricsLog, this); }
@Override public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException { return new LoggingPhoenixStatement( super.createStatement(resultSetType, resultSetConcurrency), phoenixMetricsLog, this); }