Sha256: fb0ad82abecc57084a2deaad170db55d0b593106174dc63a5cabe64b5365f080

Contents?: true

Size: 1.65 KB

Versions: 23

Compression:

Stored size: 1.65 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(String 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

23 entries across 23 versions & 2 rubygems

Version Path
embulk-output-teradata-0.1.2 src/main/java/org/embulk/output/teradata/jdbc/BatchInsert.java
embulk-output-jdbc-0.7.8 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.7.7 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.7.6 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.7.5 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.7.4 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-teradata-0.1.1 src/main/java/org/embulk/output/teradata/jdbc/BatchInsert.java
embulk-output-jdbc-0.7.3 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.7.2 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.7.1 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.7.0 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.6.5 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.6.4 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.6.3 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.6.2 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.6.1 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.6.0 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.5.1 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.5.0 src/main/java/org/embulk/output/jdbc/BatchInsert.java
embulk-output-jdbc-0.4.5 src/main/java/org/embulk/output/jdbc/BatchInsert.java