public BatchInsertGenKeysOp(String sql, F<A, TryEffect1<PreparedStatement, SQLException>> binder, Iterable<A> as, Try1<ResultSet, B, SQLException> getKey, CanBuildFrom<B, C1, C2> cbf) { this.sql = sql; this.binder = batchBinder(binder, as); this.getKey = getKey; this.cbf = cbf; this.as = as; }
public BatchUpdateOp(String sql, F<A, TryEffect1<PreparedStatement, SQLException>> binder, Iterable<A> as) { this.binder = batchBinder(binder, as); this.as = as; this.sql = sql; }