Sha256: f80bd2e2a1a29091517c1dbdec34e818b505a30cfd8be195cebaafe613239ef0

Contents?: true

Size: 1.66 KB

Versions: 8

Compression:

Stored size: 1.66 KB

Contents

package org.embulk.output.jdbc;

import java.math.BigDecimal;
import java.util.Calendar;
import java.io.IOException;
import java.sql.SQLException;
import org.embulk.spi.time.Timestamp;

public interface BatchInsert
{
    public void prepare(TableIdentifier loadTable, JdbcSchema insertSchema) throws SQLException;

    public int getBatchWeight();

    public void add() throws IOException, SQLException;

    public void close() throws IOException, SQLException;

    public void flush() throws IOException, SQLException;

    public void finish() throws IOException, SQLException;

    public void setNull(int sqlType) throws IOException, SQLException;

    public void setBoolean(boolean v) throws IOException, SQLException;

    public void setByte(byte v) throws IOException, SQLException;

    public void setShort(short v) throws IOException, SQLException;

    public void setInt(int v) throws IOException, SQLException;

    public void setLong(long v) throws IOException, SQLException;

    public void setFloat(float v) throws IOException, SQLException;

    public void setDouble(double v) throws IOException, SQLException;

    public void setBigDecimal(BigDecimal v) throws IOException, SQLException;

    public void setString(String v) throws IOException, SQLException;

    public void setNString(String v) throws IOException, SQLException;

    public void setBytes(byte[] v) throws IOException, SQLException;

    public void setSqlDate(Timestamp v, Calendar cal) throws IOException, SQLException;

    public void setSqlTime(Timestamp v, Calendar cal) throws IOException, SQLException;

    public void setSqlTimestamp(Timestamp v, Calendar cal) throws IOException, SQLException;
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
embulk-output-jdbc-0.8.3 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.8.2 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.8.1 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.7.13 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.7.12 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.7.11 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.7.10 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.7.9 src/main/java/org/embulk/output/jdbc/BatchInsert.java