Sha256: 5c7f5902e76cdf175a73bcebde2dca4c3cab4d41a47124f2e28daf752d34c0d7

Contents?: true

Size: 930 Bytes

Versions: 17

Compression:

Stored size: 930 Bytes

Contents

package org.embulk.input.jdbc;

import org.embulk.config.Config;
import org.embulk.config.ConfigDefault;
import org.embulk.config.ConfigInject;
import org.embulk.config.Task;
import org.embulk.spi.time.TimestampFormat;
import org.embulk.spi.type.Type;
import org.joda.time.DateTimeZone;
import org.jruby.embed.ScriptingContainer;

import com.google.common.base.Optional;

public interface JdbcColumnOption
        extends Task
{
    @Config("value_type")
    @ConfigDefault("\"coalesce\"")
    public String getValueType();

    @Config("type")
    @ConfigDefault("null")
    public Optional<Type> getType();

    @Config("timestamp_format")
    @ConfigDefault("null")
    public Optional<TimestampFormat> getTimestampFormat();

    @Config("timezone")
    @ConfigDefault("null")
    public Optional<DateTimeZone> getTimeZone();

    // required by TimestampFormatter
    @ConfigInject
    public ScriptingContainer getJRuby();
}

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
embulk-input-jdbc-0.8.5 src/main/java/org/embulk/input/jdbc/JdbcColumnOption.java
embulk-input-jdbc-0.8.4 src/main/java/org/embulk/input/jdbc/JdbcColumnOption.java
embulk-input-jdbc-0.8.3 src/main/java/org/embulk/input/jdbc/JdbcColumnOption.java
embulk-input-jdbc-0.8.2 src/main/java/org/embulk/input/jdbc/JdbcColumnOption.java
embulk-input-jdbc-0.8.1 src/main/java/org/embulk/input/jdbc/JdbcColumnOption.java
embulk-input-jdbc-0.8.0 src/main/java/org/embulk/input/jdbc/JdbcColumnOption.java
embulk-input-jdbc-0.7.4 src/main/java/org/embulk/input/jdbc/JdbcColumnOption.java
embulk-input-jdbc-0.7.3 src/main/java/org/embulk/input/jdbc/JdbcColumnOption.java
embulk-input-jdbc-0.7.2 src/main/java/org/embulk/input/jdbc/JdbcColumnOption.java
embulk-input-jdbc-0.7.1 src/main/java/org/embulk/input/jdbc/JdbcColumnOption.java
embulk-input-jdbc-0.7.0 src/main/java/org/embulk/input/jdbc/JdbcColumnOption.java
embulk-input-jdbc-0.6.4 src/main/java/org/embulk/input/jdbc/JdbcColumnOption.java
embulk-input-jdbc-0.6.3 src/main/java/org/embulk/input/jdbc/JdbcColumnOption.java
embulk-input-jdbc-0.6.2 src/main/java/org/embulk/input/jdbc/JdbcColumnOption.java
embulk-input-jdbc-0.6.1 src/main/java/org/embulk/input/jdbc/JdbcColumnOption.java
embulk-input-jdbc-0.6.0 src/main/java/org/embulk/input/jdbc/JdbcColumnOption.java
embulk-input-jdbc-0.5.0 src/main/java/org/embulk/input/jdbc/JdbcColumnOption.java