Sha256: 264e269146c1a63bc3e341698db0b5d242e79b0645257a348f1086d03713e4c5

Contents?: true

Size: 805 Bytes

Versions: 15

Compression:

Stored size: 805 Bytes

Contents

package org.embulk.input.jdbc;

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

public class JdbcLiteral
{
    private final int columnIndex;
    private final JsonNode value;

    @JsonCreator
    public JdbcLiteral(
            @JsonProperty("columnIndex") int columnIndex,
            @JsonProperty("value") JsonNode value)
    {
        this.columnIndex = columnIndex;
        this.value = value;
    }

    @JsonProperty("columnIndex")
    public int getColumnIndex()
    {
        return columnIndex;
    }

    @JsonProperty("value")
    public JsonNode getValue()
    {
        return value;
    }

    @Override
    public String toString()
    {
        return value.toString();
    }
}

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/JdbcLiteral.java
embulk-input-jdbc-0.9.3 src/main/java/org/embulk/input/jdbc/JdbcLiteral.java
embulk-input-jdbc-0.9.2 src/main/java/org/embulk/input/jdbc/JdbcLiteral.java
embulk-input-athena-0.1.0 src/main/java/org/embulk/input/jdbc/JdbcLiteral.java
embulk-input-jdbc-0.9.1 src/main/java/org/embulk/input/jdbc/JdbcLiteral.java
embulk-input-jdbc-0.9.0 src/main/java/org/embulk/input/jdbc/JdbcLiteral.java
embulk-input-jdbc-0.8.6 src/main/java/org/embulk/input/jdbc/JdbcLiteral.java
embulk-input-jdbc-0.8.5 src/main/java/org/embulk/input/jdbc/JdbcLiteral.java
embulk-input-jdbc-0.8.4 src/main/java/org/embulk/input/jdbc/JdbcLiteral.java
embulk-input-jdbc-0.8.3 src/main/java/org/embulk/input/jdbc/JdbcLiteral.java
embulk-input-jdbc-0.8.2 src/main/java/org/embulk/input/jdbc/JdbcLiteral.java
embulk-input-jdbc-0.8.1 src/main/java/org/embulk/input/jdbc/JdbcLiteral.java
embulk-input-jdbc-0.8.0 src/main/java/org/embulk/input/jdbc/JdbcLiteral.java
embulk-input-jdbc-0.7.4 src/main/java/org/embulk/input/jdbc/JdbcLiteral.java
embulk-input-jdbc-0.7.3 src/main/java/org/embulk/input/jdbc/JdbcLiteral.java