Exemplo n.º 1
0
 @Override
 MeasureFilterRow fetch(ResultSet rs) throws SQLException {
   MeasureFilterRow row = new MeasureFilterRow(rs.getLong(1), rs.getLong(2), rs.getLong(3));
   double value = rs.getDouble(4);
   if (!rs.wasNull()) {
     row.setSortDouble(value);
   }
   return row;
 }
Exemplo n.º 2
0
 @Override
 MeasureFilterRow fetch(ResultSet rs) throws SQLException {
   MeasureFilterRow row = new MeasureFilterRow(rs.getLong(1), rs.getLong(2), rs.getLong(3));
   row.setSortDate(rs.getLong(4));
   return row;
 }