パッケージ org.nkjmlab.sorm4j
インタフェース OrmLazyReader
-
- 既知のサブインタフェースのリスト:
OrmConnection,OrmTransaction
public interface OrmLazyReader
-
-
メソッドの概要
すべてのメソッド インスタンス・メソッド abstractメソッド 修飾子とタイプ メソッド 説明 <T> LazyResultSet<T>readAllLazy(Class<T> objectClass)ReturnsLazyResultSetrepresents all rows from the table indicated by object class.<T> LazyResultSet<T>readLazy(Class<T> objectClass, String sql, Object... parameters)Returns anLazyResultSet.<T> LazyResultSet<T>readLazy(Class<T> objectClass, ParameterizedSql sql)Returns anLazyResultSet.
-
-
-
メソッドの詳細
-
readAllLazy
<T> LazyResultSet<T> readAllLazy(Class<T> objectClass)
ReturnsLazyResultSetrepresents all rows from the table indicated by object class.- 型パラメータ:
T-- パラメータ:
objectClass-- 戻り値:
-
readLazy
<T> LazyResultSet<T> readLazy(Class<T> objectClass, String sql, Object... parameters)
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
<T> LazyResultSet<T> readLazy(Class<T> objectClass, ParameterizedSql sql)
Returns anLazyResultSet. It is able to convert to Stream, List, and so on.- 型パラメータ:
T-- パラメータ:
objectClass-sql-- 戻り値:
-
-