@Override public ResultSet executeQuery() throws SQLException { ResultSet rs = new LoggingPhoenixResultSet(super.executeQuery(), phoenixMetricsLog, sql); this.loggingAutoCommitHelper(); return rs; }
@Override public int executeUpdate() throws SQLException { int res = super.executeUpdate(); this.loggingAutoCommitHelper(); return res; }
@Override public ResultSet getGeneratedKeys() throws SQLException { return new LoggingPhoenixResultSet(super.getGeneratedKeys(), phoenixMetricsLog, sql); }
@Override public ResultSet getResultSet() throws SQLException { // Re-use the cached ResultSet value since call to getResultSet() is not idempotent ResultSet resultSet = super.getResultSet(); return (resultSet == null) ? null : new LoggingPhoenixResultSet(resultSet, phoenixMetricsLog, sql); }
@Override public ResultSet getResultSet() throws SQLException { // Re-use the cached ResultSet value since call to getResultSet() is not idempotent ResultSet resultSet = super.getResultSet(); return (resultSet == null) ? null : new LoggingPhoenixResultSet(resultSet, phoenixMetricsLog, sql); }
@Override public ResultSet executeQuery(String sql) throws SQLException { return new LoggingPhoenixResultSet(super.executeQuery(sql), phoenixMetricsLog); }
@Override public ResultSet getResultSet() throws SQLException { return new LoggingPhoenixResultSet(super.getResultSet(), phoenixMetricsLog); }
@Override public ResultSet getGeneratedKeys() throws SQLException { return new LoggingPhoenixResultSet(super.getGeneratedKeys(), phoenixMetricsLog, sql); }
@Override public int executeUpdate() throws SQLException { int res = super.executeUpdate(); this.loggingAutoCommitHelper(); return res; }
@Override public ResultSet executeQuery() throws SQLException { return new LoggingPhoenixResultSet(super.executeQuery(), phoenixMetricsLog); }
@Override public ResultSet getGeneratedKeys() throws SQLException { return new LoggingPhoenixResultSet(super.getGeneratedKeys(), phoenixMetricsLog); }
@Override public ResultSet executeQuery() throws SQLException { ResultSet rs = new LoggingPhoenixResultSet(super.executeQuery(), phoenixMetricsLog, sql); this.loggingAutoCommitHelper(); return rs; }