Sha256: f6522bfe6f80674e263cce0f9d6e9a3743fad5c7b0fa630b9bec5575c122cb84

Contents?: true

Size: 425 Bytes

Versions: 2

Compression:

Stored size: 425 Bytes

Contents

package org.embulk.input.td.writer;

import org.embulk.spi.Column;
import org.embulk.spi.PageBuilder;
import org.msgpack.value.Value;

public class StringValueWriter
        extends AbstractValueWriter
{
    public StringValueWriter(Column column)
    {
        super(column);
    }

    @Override
    public void writeNotNull(Value v, PageBuilder to)
    {
        to.setString(index, v.asStringValue().asString());
    }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
embulk-input-td-0.2.0 src/main/java/org/embulk/input/td/writer/StringValueWriter.java
embulk-input-td-0.1.0 src/main/java/org/embulk/input/td/writer/StringValueWriter.java