インタフェース 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 SQLException
        Maps a row in RowMapper to a object.
        パラメータ:
        resultSet - the ResultSet to map (pre-initialized for the current row)
        rowNum - the number of the current row. it starts 1 ( e.g. 1, 2, ...).
        戻り値:
        例外:
        SQLException