Class ListMapper<T>

java.lang.Object
com.popokis.popok.sql_db.ListMapper<T>
All Implemented Interfaces:
JdbcMapper<java.util.List<T>>

public final class ListMapper<T>
extends java.lang.Object
implements JdbcMapper<java.util.List<T>>
  • Method Summary

    Modifier and Type Method Description
    java.util.Optional<java.util.List<T>> map​(org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet rowSet)  
    static <T> ListMapper<T> of​(JdbcMapper<T> modelMapper)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • of

      public static <T> ListMapper<T> of​(JdbcMapper<T> modelMapper)
    • map

      public java.util.Optional<java.util.List<T>> map​(org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet rowSet)
      Specified by:
      map in interface JdbcMapper<T>