The Spring Framework

Uses of Interface
org.springframework.jdbc.core.RowMapper

Packages that use RowMapper
org.springframework.jdbc.core Provides the core JDBC framework, based on JdbcTemplate and its associated callback interfaces and helper objects. 
org.springframework.jdbc.core.metadata Context metadata abstraction for the configuration and execution of a stored procedure call. 
org.springframework.jdbc.core.namedparam JdbcTemplate variant with named parameter support. 
org.springframework.jdbc.core.simple Simplification layer over JdbcTemplate for Java 5 and above. 
org.springframework.jdbc.object The classes in this package represent RDBMS queries, updates, and stored procedures as threadsafe, reusable objects. 
 

Uses of RowMapper in org.springframework.jdbc.core
 

Classes in org.springframework.jdbc.core that implement RowMapper
 class BeanPropertyRowMapper
          Generic RowMapper implementation that converts a row into a new instance of the specified mapped target class.
 class ColumnMapRowMapper
          RowMapper implementation that creates a java.util.Map for each row, representing all columns as key-value pairs: one entry for each column, with the column name as key.
 class SingleColumnRowMapper
          RowMapper implementation that converts a single column into a single result value per row.
 

Methods in org.springframework.jdbc.core that return RowMapper
protected  RowMapper JdbcTemplate.getColumnMapRowMapper()
          Create a new RowMapper for reading columns as key-value pairs.
 RowMapper ResultSetSupportingSqlParameter.getRowMapper()
          Return the RowMapper held by this parameter, if any.
protected  RowMapper JdbcTemplate.getSingleColumnRowMapper(Class requiredType)
          Create a new RowMapper for reading result objects from a single column.
 

Methods in org.springframework.jdbc.core with parameters of type RowMapper
 List JdbcTemplate.query(PreparedStatementCreator psc, RowMapper rowMapper)
           
 List JdbcOperations.query(PreparedStatementCreator psc, RowMapper rowMapper)
          Query using a prepared statement, mapping each row to a Java object via a RowMapper.
 List JdbcTemplate.query(String sql, Object[] args, int[] argTypes, RowMapper rowMapper)
           
 List JdbcOperations.query(String sql, Object[] args, int[] argTypes, RowMapper rowMapper)
          Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a Java object via a RowMapper.
 List JdbcTemplate.query(String sql, Object[] args, RowMapper rowMapper)
           
 List JdbcOperations.query(String sql, Object[] args, RowMapper rowMapper)
          Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a Java object via a RowMapper.
 List JdbcTemplate.query(String sql, PreparedStatementSetter pss, RowMapper rowMapper)
           
 List JdbcOperations.query(String sql, PreparedStatementSetter pss, RowMapper rowMapper)
          Query given SQL to create a prepared statement from SQL and a PreparedStatementSetter implementation that knows how to bind values to the query, mapping each row to a Java object via a RowMapper.
 List JdbcTemplate.query(String sql, RowMapper rowMapper)
           
 List JdbcOperations.query(String sql, RowMapper rowMapper)
          Execute a query given static SQL, mapping each row to a Java object via a RowMapper.
 Object JdbcTemplate.queryForObject(String sql, Object[] args, int[] argTypes, RowMapper rowMapper)
           
 Object JdbcOperations.queryForObject(String sql, Object[] args, int[] argTypes, RowMapper rowMapper)
          Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping a single result row to a Java object via a RowMapper.
 Object JdbcTemplate.queryForObject(String sql, Object[] args, RowMapper rowMapper)
           
 Object JdbcOperations.queryForObject(String sql, Object[] args, RowMapper rowMapper)
          Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping a single result row to a Java object via a RowMapper.
 Object JdbcTemplate.queryForObject(String sql, RowMapper rowMapper)
           
 Object JdbcOperations.queryForObject(String sql, RowMapper rowMapper)
          Execute a query given static SQL, mapping a single result row to a Java object via a RowMapper.
 

Constructors in org.springframework.jdbc.core with parameters of type RowMapper
ResultSetSupportingSqlParameter(String name, int sqlType, RowMapper rm)
          Create a new ResultSetSupportingSqlParameter.
RowMapperResultSetExtractor(RowMapper rowMapper)
          Create a new RowMapperResultSetExtractor.
RowMapperResultSetExtractor(RowMapper rowMapper, int rowsExpected)
          Create a new RowMapperResultSetExtractor.
SqlInOutParameter(String name, int sqlType, RowMapper rm)
          Create a new SqlInOutParameter.
SqlOutParameter(String name, int sqlType, RowMapper rm)
          Create a new SqlOutParameter.
SqlReturnResultSet(String name, RowMapper mapper)
          Create a new instance of the SqlReturnResultSet class.
 

Uses of RowMapper in org.springframework.jdbc.core.metadata
 

Methods in org.springframework.jdbc.core.metadata with parameters of type RowMapper
 SqlParameter CallMetaDataContext.createReturnResultSetParameter(String parameterName, RowMapper rowMapper)
          Create a ReturnResultSetParameter/SqlOutParameter depending on the support provided by the JDBC driver used for the database in use.
 

Uses of RowMapper in org.springframework.jdbc.core.namedparam
 

Methods in org.springframework.jdbc.core.namedparam with parameters of type RowMapper
 List NamedParameterJdbcTemplate.query(String sql, Map paramMap, RowMapper rowMapper)
           
 List NamedParameterJdbcOperations.query(String sql, Map paramMap, RowMapper rowMapper)
          Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a Java object via a RowMapper.
 List NamedParameterJdbcTemplate.query(String sql, SqlParameterSource paramSource, RowMapper rowMapper)
           
 List NamedParameterJdbcOperations.query(String sql, SqlParameterSource paramSource, RowMapper rowMapper)
          Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a Java object via a RowMapper.
 Object NamedParameterJdbcTemplate.queryForObject(String sql, Map paramMap, RowMapper rowMapper)
           
 Object NamedParameterJdbcOperations.queryForObject(String sql, Map paramMap, RowMapper rowMapper)
          Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping a single result row to a Java object via a RowMapper.
 Object NamedParameterJdbcTemplate.queryForObject(String sql, SqlParameterSource paramSource, RowMapper rowMapper)
           
 Object NamedParameterJdbcOperations.queryForObject(String sql, SqlParameterSource paramSource, RowMapper rowMapper)
          Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping a single result row to a Java object via a RowMapper.
 

Uses of RowMapper in org.springframework.jdbc.core.simple
 

Subinterfaces of RowMapper in org.springframework.jdbc.core.simple
 interface ParameterizedRowMapper<T>
          Extension of the RowMapper interface, adding type parameterization.
 

Classes in org.springframework.jdbc.core.simple that implement RowMapper
 class ParameterizedBeanPropertyRowMapper<T>
          Generic ParameterizedRowMapper implementation that converts a row into a new instance of the specified mapped target class.
 

Uses of RowMapper in org.springframework.jdbc.object
 

Classes in org.springframework.jdbc.object that implement RowMapper
protected  class MappingSqlQueryWithParameters.RowMapperImpl
          Implementation of RowMapper that calls the enclosing class's mapRow method for each row.
protected  class UpdatableSqlQuery.RowMapperImpl
          Implementation of RowMapper that calls the enclosing class's updateRow() method for each row.
 

Methods in org.springframework.jdbc.object that return RowMapper
protected  RowMapper UpdatableSqlQuery.newRowMapper(Object[] parameters, Map context)
          Implementation of the superclass template method.
protected abstract  RowMapper SqlQuery.newRowMapper(Object[] parameters, Map context)
          Subclasses must implement this method to extract an object per row, to be returned by the execute method as an aggregated List.
protected  RowMapper MappingSqlQueryWithParameters.newRowMapper(Object[] parameters, Map context)
          Implementation of protected abstract method.
 


The Spring Framework

Copyright © 2002-2007 The Spring Framework.