インタフェースの使用
org.nkjmlab.sorm4j.mapping.RowMapper
RowMapperを使用しているパッケージ
パッケージ
説明
Provides the main API for Sorm4j.
Provides classes for mapping.
Package for SQL utilities for table.
Package for Command interface.
-
org.nkjmlab.sorm4jでのRowMapperの使用
RowMapperを返すorg.nkjmlab.sorm4jのメソッド修飾子とタイプメソッド説明<T> RowMapper<T>Orm.getRowMapper(Class<T> type) Gets a function which maps one row in the resultSet to an object.RowMapper型のパラメータを持つorg.nkjmlab.sorm4jのメソッド修飾子とタイプメソッド説明<T> List<T>Orm.executeQuery(FunctionHandler<Connection, PreparedStatement> statementSupplier, RowMapper<T> rowMapper) Executes the query with the given PreparedStatement and applies the givenRowMapper.<T> List<T>Orm.executeQuery(ParameterizedSql sql, RowMapper<T> mapper) Executes a query and apply the givenRowMapperto the each row in returned result set. -
org.nkjmlab.sorm4j.mappingでのRowMapperの使用
RowMapper型のパラメータを持つorg.nkjmlab.sorm4j.mappingのメソッド修飾子とタイプメソッド説明static <T> ResultSetTraverser<List<T>>Converts the givenRowMapperto theResultSetTraverser. -
org.nkjmlab.sorm4j.tableでのRowMapperの使用
-
org.nkjmlab.sorm4j.util.commandでのRowMapperの使用
RowMapper型のパラメータを持つorg.nkjmlab.sorm4j.util.commandのメソッド修飾子とタイプメソッド説明<T> List<T>Command.executeQuery(RowMapper<T> rowMapper) Executes a query and apply the given mapper to the each row in returned result set.