Interface RowMapper<T>

Type Parameters:
T - the type of the domain object.
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RowMapper<T>
Performs Row mapping from result set to domain object properties. Usage this.jdbcTemplate.executeQuery(SELECT_SQL, (resultSet, rowNumber) -> { DomainObject domainObject = new DomainObject(); domainObject.setProperty(resultSet.getString("COLUMN_1")); return domainObject; }
  • Method Summary

    Modifier and Type
    Method
    Description
    mapRow(ResultSet resultSet, int rowNumber)