Sha256: c93d715f178d7caf54f7f0af20e5172a556be46f44f37f272b3bd158925faa62

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

package org.embulk.spi.util.dynamic;

import org.jruby.runtime.builtin.IRubyObject;
import org.embulk.spi.PageBuilder;
import org.embulk.spi.Column;
import org.embulk.spi.time.Timestamp;
import org.embulk.spi.time.TimestampParser;
import org.embulk.spi.time.TimestampParseException;

public class SkipColumnSetter
        extends AbstractDynamicColumnSetter
{
    private static final SkipColumnSetter instance = new SkipColumnSetter();

    public static SkipColumnSetter get()
    {
        return instance;
    }

    private SkipColumnSetter()
    {
        super(null, null, null);
    }

    @Override
    public void setNull()
    { }

    @Override
    public void set(boolean v)
    { }

    @Override
    public void set(long v)
    { }

    @Override
    public void set(double v)
    { }

    @Override
    public void set(String v)
    { }

    @Override
    public void set(Timestamp v)
    { }

    @Override
    public IRubyObject setRubyObject(IRubyObject rubyObject)
    {
        return rubyObject.getRuntime().getNil();
    }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
embulk-0.6.14 embulk-core/src/main/java/org/embulk/spi/util/dynamic/SkipColumnSetter.java
embulk-0.6.13 embulk-core/src/main/java/org/embulk/spi/util/dynamic/SkipColumnSetter.java