パッケージ org.nkjmlab.sorm4j

インタフェース RowMapper<T>

  • 型パラメータ:
    T -
    機能インタフェース
    これは機能インタフェースなので、ラムダ式またはメソッド参照の割当てターゲットとして使用できます。

    @FunctionalInterface
    public interface RowMapper<T>
    Maps a row in a ResultSet to a object.
    作成者:
    nkjm
    • メソッドの詳細

      • mapRow

        T mapRow​(ResultSet resultSet,
                 int rowNum)
          throws Exception
        Maps a row in RowMapper to a object.
        パラメータ:
        resultSet -
        rowNum - Starts 1. e.g. 1, 2, ...
        戻り値:
        例外:
        Exception