Sha256: cae0d32204b8733ed9c4288aeab7b81ce8d744c307beff59cf6eb75f05a69068

Contents?: true

Size: 908 Bytes

Versions: 27

Compression:

Stored size: 908 Bytes

Contents

package org.embulk.output.jdbc;

import com.google.common.base.Optional;
import org.joda.time.DateTimeZone;
import org.jruby.embed.ScriptingContainer;
import org.embulk.config.Task;
import org.embulk.config.Config;
import org.embulk.config.ConfigDefault;
import org.embulk.config.ConfigInject;
import org.embulk.spi.time.TimestampFormat;

public interface JdbcColumnOption
        extends Task
{
    @Config("type")
    @ConfigDefault("null")
    public Optional<String> getType();

    @Config("value_type")
    @ConfigDefault("\"coerce\"")
    public String getValueType();

    @Config("timestamp_format")
    @ConfigDefault("\"%Y-%m-%d %H:%M:%S.%6N\"")
    public TimestampFormat getTimestampFormat();

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

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

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
embulk-output-jdbc-0.5.1 src/main/java/org/embulk/output/jdbc/JdbcColumnOption.java
embulk-output-jdbc-0.5.0 src/main/java/org/embulk/output/jdbc/JdbcColumnOption.java
embulk-output-jdbc-0.4.5 src/main/java/org/embulk/output/jdbc/JdbcColumnOption.java
embulk-output-jdbc-0.4.4 src/main/java/org/embulk/output/jdbc/JdbcColumnOption.java
embulk-output-jdbc-0.4.3 src/main/java/org/embulk/output/jdbc/JdbcColumnOption.java
embulk-output-jdbc-0.4.2 src/main/java/org/embulk/output/jdbc/JdbcColumnOption.java
embulk-output-jdbc-0.4.0 src/main/java/org/embulk/output/jdbc/JdbcColumnOption.java