code: public static <E extends Exception> int importData(final DataSet dataset, final Collection<String> selectColumnNames, final int offset, final int count,
              final Try.Predicate<? super Object[], E> filter, final PreparedStatement stmt, final int batchSize, final int batchInterval)
              throws UncheckedSQLException, E {
          final Type<?> objType = N.typeOf(Object.class);
          final Map<String, Type<?>> columnTypeMap = new HashMap<>();
  
          for (String propName : selectColumnNames) {
              columnTypeMap.put(propName, objType);
          }
  
          return importData(dataset, offset, count, filter, stmt, batchSize, batchInterval, columnTypeMap);
      }
docs: Imports the data from <code>DataSet</code> to database.
  
  @param dataset
  @param selectColumnNames
  @param offset
  @param count
  @param stmt the column order in the sql must be consistent with the column order in the DataSet.
  @param batchSize
  @param batchInterval
  @return
  @throws UncheckedSQLException