Interface AbstractJdbcQuery.RowMapperFactory

Enclosing class:
AbstractJdbcQuery

public static interface AbstractJdbcQuery.RowMapperFactory
Factory to create a RowMapper for a given class.
Since:
2.3
  • Method Details

    • create

      RowMapper<Object> create(Class<?> result)
      Create a RowMapper based on the expected return type passed in as an argument.
      Parameters:
      result - must not be null.
      Returns:
      a RowMapper producing instances of result.
    • getRowMapper

      default RowMapper<Object> getRowMapper(String reference)
      Obtain a RowMapper from some other source, typically a BeanFactory.
      Parameters:
      reference - must not be null.
      Since:
      3.4
    • getResultSetExtractor

      default ResultSetExtractor<Object> getResultSetExtractor(String reference)
      Obtain a ResultSetExtractor from some other source, typically a BeanFactory.
      Parameters:
      reference - must not be null.
      Since:
      3.4