Sha256: d433b4d0fd4ea1f36801adcf9092134737257e74cfb96adaeeceb10c5ef57e01

Contents?: true

Size: 1.2 KB

Versions: 15

Compression:

Stored size: 1.2 KB

Contents

package org.embulk.input.jdbc;

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

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

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

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

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

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

    @JsonProperty("precision")
    public int getPrecision()
    {
        return precision;
    }

    @JsonProperty("scale")
    public int getScale()
    {
        return scale;
    }
}

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
embulk-input-jdbc-0.10.0 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.9.3 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.9.2 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-athena-0.1.0 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.9.1 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.9.0 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.8.6 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.8.5 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.8.4 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.8.3 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.8.2 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.8.1 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.8.0 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.7.4 src/main/java/org/embulk/input/jdbc/JdbcColumn.java
embulk-input-jdbc-0.7.3 src/main/java/org/embulk/input/jdbc/JdbcColumn.java