Sha256: df3d0a2fee9ea848ecbe762edd0b8229c1e724cec64a463cd3d955f12deb01dc

Contents?: true

Size: 878 Bytes

Versions: 8

Compression:

Stored size: 878 Bytes

Contents

package org.embulk.input.jdbc;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;

public class JdbcColumn
{
    private String name;
    private String typeName;
    private int sqlType;

    @JsonCreator
    public JdbcColumn(
            @JsonProperty("name") String name,
            @JsonProperty("typeName") String typeName,
            @JsonProperty("sqlType") int sqlType)
    {
        this.name = name;
        this.typeName = typeName;
        this.sqlType = sqlType;
    }

    @JsonProperty("name")
    public String getName()
    {
        return name;
    }

    @JsonProperty("typeName")
    public String getTypeName()
    {
        return typeName;
    }

    @JsonProperty("sqlType")
    public int getSqlType()
    {
        return sqlType;
    }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
embulk-input-jdbc-0.4.0 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.3.0 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.2.4 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.2.3 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.2.2 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.2.1 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.2.0 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.1.0 src/main/java/org/embulk/input/jdbc/JdbcColumn.java