Class EntityRowMapper<T>

java.lang.Object
org.springframework.data.r2dbc.convert.EntityRowMapper<T>
All Implemented Interfaces:
BiFunction<io.r2dbc.spi.Row,io.r2dbc.spi.RowMetadata,T>

public class EntityRowMapper<T> extends Object implements BiFunction<io.r2dbc.spi.Row,io.r2dbc.spi.RowMetadata,T>
Maps a Row to an entity of type T, including entities referenced.
Author:
Mark Paluch, Ryland Degnan
  • Constructor Details

  • Method Details

    • apply

      public T apply(io.r2dbc.spi.Row row, io.r2dbc.spi.RowMetadata metadata)
      Specified by:
      apply in interface BiFunction<io.r2dbc.spi.Row,io.r2dbc.spi.RowMetadata,T>