パッケージ org.nkjmlab.sorm4j
インタフェース OrmLazyReader
- 既知のサブインタフェースのリスト:
OrmConnection
,OrmTransaction
public interface OrmLazyReader
-
メソッドの概要
修飾子とタイプメソッド説明<T> LazyResultSet<T>
readAllLazy
(Class<T> objectClass) ReturnsLazyResultSet
represents all rows from the table indicated by object class.<T> LazyResultSet<T>
Returns anLazyResultSet
.<T> LazyResultSet<T>
readLazy
(Class<T> objectClass, ParameterizedSql sql) Returns anLazyResultSet
.
-
メソッドの詳細
-
readAllLazy
ReturnsLazyResultSet
represents all rows from the table indicated by object class.- 型パラメータ:
T
-- パラメータ:
objectClass
-- 戻り値:
-
readLazy
Returns anLazyResultSet
. It is able to convert to Stream, List, and so on.Parameters will be set according with the correspondence defined in
SqlParametersSetter.setParameters(SormOptions,PreparedStatement, Object[])
-
readLazy
Returns anLazyResultSet
. It is able to convert to Stream, List, and so on.- 型パラメータ:
T
-- パラメータ:
objectClass
-sql
-- 戻り値:
-