com.itranswarp.rdb.InsertBatchT Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rdb Show documentation
Show all versions of rdb Show documentation
Fast, lightweight and DSL-driven library for RDBMS.
package com.itranswarp.rdb;
public class InsertBatchT {
InsertInfo insertInfo;
InsertBatchT(InsertInfo insertInfo, T[] beans) {
if (beans.length == 0) {
throw new IllegalArgumentException("objects is empty.");
}
insertInfo.beans = beans;
this.insertInfo = insertInfo;
}
void run() {
new InsertRunner(this.insertInfo).run();
}
}