インタフェース OrmMapReader
-
- 既知のサブインタフェースのリスト:
OrmConnection,OrmMapper,TypedOrmConnection<T>,TypedOrmMapper<T>
- 既知の実装クラスのリスト:
OrmConnectionImpl,TypedOrmConnectionImpl,TypedOrmMapperImpl
public interface OrmMapReader
-
-
メソッドの概要
すべてのメソッド インスタンス・メソッド abstractメソッド 修飾子とタイプ メソッド 説明 Map<String,Object>readMapFirst(String sql, Object... parameters)Reads a first row from the database by mapping the results of the SQL query into an instance ofMap.Map<String,Object>readMapFirst(SqlStatement sql)LazyResultSet<Map<String,Object>>readMapLazy(String sql, Object... parameters)Returns anLazyResultSetImplinstance containing data from the execution of the provided parametrized SQL and convert it to Stream, List, and so on.LazyResultSet<Map<String,Object>>readMapLazy(SqlStatement sql)List<Map<String,Object>>readMapList(String sql, Object... parameters)Reads a list of objects from the database by mapping the SQL execution results to instances ofMapcontaining data from the execution of the provided parametrized SQL andList<Map<String,Object>>readMapList(SqlStatement sql)Map<String,Object>readMapOne(String sql, Object... parameters)Map<String,Object>readMapOne(SqlStatement sql)
-
-
-
メソッドの詳細
-
readMapOne
Map<String,Object> readMapOne(SqlStatement sql)
-
readMapFirst
Map<String,Object> readMapFirst(String sql, Object... parameters)
Reads a first row from the database by mapping the results of the SQL query into an instance ofMap.Types returned from the database will be converted to Java types in the map according with the correspondence defined in
ResultSetConverter.getValueBySqlType(ResultSet, int, int).Parameters will be set according with the correspondence defined in
SqlParameterSetter.setParameters(PreparedStatement, Object... )
-
readMapLazy
LazyResultSet<Map<String,Object>> readMapLazy(String sql, Object... parameters)
Returns anLazyResultSetImplinstance 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.getValueBySqlType(ResultSet, int, int).Parameters will be set according with the correspondence defined in
SqlParameterSetter.setParameters(PreparedStatement, Object... )
-
readMapList
List<Map<String,Object>> readMapList(String sql, Object... parameters)
Reads a list of objects from the database by mapping the SQL execution results to instances ofMapcontaining data from the execution of the provided parametrized SQL andTypes returned from the database will be converted to Java types in the map according with the correspondence defined in
ResultSetConverter.getValueBySqlType(ResultSet, int, int).Parameters will be set according with the correspondence defined in
SqlParameterSetter.setParameters(PreparedStatement, Object... )
-
readMapFirst
Map<String,Object> readMapFirst(SqlStatement sql)
-
readMapLazy
LazyResultSet<Map<String,Object>> readMapLazy(SqlStatement sql)
-
readMapList
List<Map<String,Object>> readMapList(SqlStatement sql)
-
-