Sha256: 5e2d165b11ff9455a43b2f0f34de3570f2fd99adb2802b66759a715182196998

Contents?: true

Size: 1.49 KB

Versions: 8

Compression:

Stored size: 1.49 KB

Contents

package org.embulk.output.jdbc.setter;

import java.io.IOException;
import java.sql.SQLException;
import org.embulk.output.jdbc.JdbcColumn;
import org.embulk.output.jdbc.BatchInsert;

public abstract class DefaultValueSetter
{
    protected final BatchInsert batch;
    protected final JdbcColumn column;

    public DefaultValueSetter(BatchInsert batch, JdbcColumn column)
    {
        this.batch = batch;
        this.column = column;
    }

    public abstract void setNull() throws IOException, SQLException;

    public abstract void setBoolean() throws IOException, SQLException;

    public abstract void setByte() throws IOException, SQLException;

    public abstract void setShort() throws IOException, SQLException;

    public abstract void setInt() throws IOException, SQLException;

    public abstract void setLong() throws IOException, SQLException;

    public abstract void setFloat() throws IOException, SQLException;

    public abstract void setDouble() throws IOException, SQLException;

    public abstract void setBigDecimal() throws IOException, SQLException;

    public abstract void setString() throws IOException, SQLException;

    public abstract void setNString() throws IOException, SQLException;

    public abstract void setBytes() throws IOException, SQLException;

    public abstract void setSqlDate() throws IOException, SQLException;

    public abstract void setSqlTime() throws IOException, SQLException;

    public abstract void setSqlTimestamp() throws IOException, SQLException;
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
embulk-output-jdbc-0.5.1 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.5.0 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.4.5 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.4.4 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.4.3 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.4.2 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.4.0 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.3.0 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java