public static int importData(final DataSet dataset, final int offset, final int count, final PreparedStatement stmt, final int batchSize,
            final int batchInterval, final Try.BiConsumer<? super PreparedStatement, ? super Object[], SQLException> stmtSetter) throws UncheckedSQLException {
        return importData(dataset, offset, count, Fn.alwaysTrue(), stmt, batchSize, batchInterval, stmtSetter);
    }
public static int importData ( final DataSet dataset , final int offset , final int count , final PreparedStatement stmt , final int batchSize , final int batchInterval , final Try . BiConsumer < ? super PreparedStatement , ? super Object [ ] , SQLException > stmtSetter ) throws UncheckedSQLException { return importData ( dataset , offset , count , Fn . alwaysTrue ( ) , stmt , batchSize , batchInterval , stmtSetter ) ; }
Imports the data from <code>DataSet</code> to database.

@param dataset
@param columnTypeMap
@param offset
@param count
@param stmt the column order in the sql must be consistent with the column order in the DataSet.
@param filter
@param stmtSetter
@return
@throws UncheckedSQLException