Class AbstractDelegatingRowMapper<T extends @Nullable Object>

java.lang.Object
org.springframework.data.jdbc.repository.query.AbstractDelegatingRowMapper<T>
All Implemented Interfaces:
RowMapper<T>

public abstract class AbstractDelegatingRowMapper<T extends @Nullable Object> extends Object implements RowMapper<T>
Abstract RowMapper that delegates the actual mapping logic to a delegate
Since:
4.0
Author:
Mikhail Polivakha
  • Constructor Details

    • AbstractDelegatingRowMapper

      protected AbstractDelegatingRowMapper(RowMapper<T> delegate)
  • Method Details

    • mapRow

      public T mapRow(ResultSet rs, int rowNum) throws SQLException
      Specified by:
      mapRow in interface RowMapper<T extends @Nullable Object>
      Throws:
      SQLException
    • postProcessMapping

      protected T postProcessMapping(T object)
      The post-processing callback for implementations.
      Returns:
      the mapped entity after applying post-processing logic