@FunctionalInterface public interface RowMapper<T>
T mapRow(ResultSet rs, int rowNum) throws SQLException
next() on the ResultSet; it is only supposed to map values of
the current row.rs - the ResultSet to map (pre-initialized for the current row)rowNum - the number of the current rownull)SQLException - if an SQLException is encountered getting column values (that is, there's
no need to catch SQLException)Copyright © 2022 PingCAP. All rights reserved.