インタフェース ResultSetTraverser<T>
-
- 型パラメータ:
T-
- 機能インタフェース
- これは機能インタフェースなので、ラムダ式またはメソッド参照の割当てターゲットとして使用できます。
@FunctionalInterface public interface ResultSetTraverser<T>
TraversesResultSetand maps to T.- 作成者:
- nkjm
-
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド abstractメソッド 修飾子とタイプ メソッド 説明 static <T> ResultSetTraverser<List<T>>of(RowMapper<T> rowMapper)Converts the givenRowMapperto theResultSetTraverser.TtraverseAndMap(ResultSet resultSet)TraversesResultSetand maps to T.
-
-
-
メソッドの詳細
-
traverseAndMap
T traverseAndMap(ResultSet resultSet) throws SQLException
TraversesResultSetand maps to T.- パラメータ:
resultSet-- 戻り値:
- 例外:
ExceptionSQLException
-
of
static <T> ResultSetTraverser<List<T>> of(RowMapper<T> rowMapper)
Converts the givenRowMapperto theResultSetTraverser.- 型パラメータ:
T-- パラメータ:
rowMapper-- 戻り値:
-
-