Sha256: 89f1d31b107a55f705d6ea150f235c5621de9cef113d7daf13b573ebf93a1e4a

Contents?: true

Size: 1.56 KB

Versions: 28

Compression:

Stored size: 1.56 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;

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

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
embulk-output-jdbc-0.8.7 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.8.5 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.8.4 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.8.3 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.8.2 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.8.1 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.7.13 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.7.12 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.7.11 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-teradata-0.1.2 src/main/java/org/embulk/output/teradata/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.7.10 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.7.9 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.7.8 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.7.7 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.7.6 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.7.5 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.7.4 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-teradata-0.1.1 src/main/java/org/embulk/output/teradata/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.7.3 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java
embulk-output-jdbc-0.7.2 src/main/java/org/embulk/output/jdbc/setter/DefaultValueSetter.java