パッケージ org.nkjmlab.sorm4j
インタフェース OrmMapLazyReader
- 既知のサブインタフェースのリスト:
OrmConnection
,OrmConnectionCommon
,OrmTransaction
public interface OrmMapLazyReader
-
メソッドの概要
修飾子とタイプメソッド説明readMapLazy
(String sql, Object... parameters) Returns anLazyResultSet
instance containing data from the execution of the provided parametrized SQL and convert it to Stream, List, and so on.
-
メソッドの詳細
-
readMapLazy
- パラメータ:
sql
-- 戻り値:
-
readMapLazy
Returns anLazyResultSet
instance containing data from the execution of the provided parametrized SQL and convert it to Stream, List, and so on.Types returned from the database will be converted to Java types in the map according with the correspondence defined in
ResultSetConverter.toSingleMap(SormOptions, ResultSet, List, List)
.Parameters will be set according with the correspondence defined in
SqlParametersSetter.setParameters(SormOptions, PreparedStatement, Object...)
- パラメータ:
sql
- with ordered parameter. The other type parameters (e.g. named parameter, list parameter) could not be used.parameters
- are ordered parameter.
-