
org.embulk.output.tsurugidb.insert.TsurugiBatchInsertInsertWait Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of embulk-output-tsurugidb Show documentation
Show all versions of embulk-output-tsurugidb Show documentation
Inserts or updates records to a table.
The newest version!
package org.embulk.output.tsurugidb.insert;
import java.io.IOException;
import java.util.Optional;
import org.embulk.output.tsurugidb.TsurugiOutputConnector;
import org.embulk.output.tsurugidb.TsurugiOutputPlugin.PluginTask;
import org.embulk.output.tsurugidb.common.MergeConfig;
import com.tsurugidb.tsubakuro.exception.ServerException;
public class TsurugiBatchInsertInsertWait extends TsurugiSqlBatchInsert {
public TsurugiBatchInsertInsertWait(PluginTask task, TsurugiOutputConnector connector, Optional mergeConfig) {
super(task, connector, mergeConfig);
}
@Override
protected int[] executeBatch() throws IOException, ServerException {
return executor.executeInsertWait(batch, recordList);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy