code: @SuppressWarnings("rawtypes")
      public static <E extends Exception> long importCSV(final InputStream is, long offset, final long count, final Try.Predicate<String[], E> filter,
              final PreparedStatement stmt, final int batchSize, final int batchInterval, final Map<String, ? extends Type> columnTypeMap)
              throws UncheckedSQLException, UncheckedIOException, E {
          final Reader reader = new InputStreamReader(is);
          return importCSV(reader, offset, count, filter, stmt, batchSize, batchInterval, columnTypeMap);
      }
docs: Imports the data from CSV to database.
  
  @param is
  @param offset
  @param count
  @param filter
  @param stmt the column order in the sql must be consistent with the column order in the CSV file.
  @param batchSize
  @param batchInterval
  @param columnTypeMap
  @return