Sha256: 9b0f0efb17cb41692e2c75c022713dea73f95f0e913fb39de55c48a8631b7273

Contents?: true

Size: 829 Bytes

Versions: 1

Compression:

Stored size: 829 Bytes

Contents

package org.embulk.output.td;

import com.google.common.base.Optional;
import org.embulk.config.Config;
import org.embulk.config.ConfigDefault;
import org.embulk.config.Task;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

public interface TimeValueConfig
        extends Task
{
    @Config("mode")
    @ConfigDefault("\"incremental_time\"")
    String getMode();

    @Config("value")
    @ConfigDefault("null")
    @Min(0)
    @Max(253402300799L) // '9999-12-31 23:59:59 UTC'
    Optional<Long> getValue();

    @Config("from")
    @ConfigDefault("null")
    @Min(0)
    @Max(253402300799L) // '9999-12-31 23:59:59 UTC'
    Optional<Long> getFrom();

    @Config("to")
    @ConfigDefault("null")
    @Min(0)
    @Max(253402300799L) // '9999-12-31 23:59:59 UTC'
    Optional<Long> getTo();
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
embulk-output-td-0.1.8 src/main/java/org/embulk/output/td/TimeValueConfig.java