question: public ResultSet map ( ResultSet resultSet ) { List < Result > newResults = new ArrayList < > ( ) ; Result newResult ; for ( Result r : resultSet ) { newResult = map ( r , resultSet . getSchema ( ) ) ; if ( newResult != null ) { newResults . add ( newResult ) ; } } Schema newSchema = map ( resultSet . getSchema ( ) ) ; ResultSet newResultSet = new ResultSet ( newResults , newSchema ) ; LOG . trace ( "Mapped resultSet: {} to new resultSet {}" , resultSet , newResultSet ) ; return newResultSet ; }
target:  Take a complete result set and replace it with one altered according to the rules of the concrete mapper.