Sha256: 9c767f9fbe721a1113214bafeca268d80223cdd310a08f242003f8a20fbfb871

Contents?: true

Size: 530 Bytes

Versions: 30

Compression:

Stored size: 530 Bytes

Contents

package org.embulk.output.td.writer;

import org.embulk.output.td.MsgpackGZFileBuilder;
import org.embulk.spi.Column;
import org.embulk.spi.PageReader;

import java.io.IOException;

public class StringFieldWriter
        extends FieldWriter
{
    public StringFieldWriter(String keyName)
    {
        super(keyName);
    }

    @Override
    public void writeValue(MsgpackGZFileBuilder builder, PageReader reader, Column column)
            throws IOException
    {
        builder.writeString(reader.getString(column));
    }
}

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
embulk-output-td-0.3.2 src/main/java/org/embulk/output/td/writer/StringFieldWriter.java
embulk-output-td-0.3.1 src/main/java/org/embulk/output/td/writer/StringFieldWriter.java
embulk-output-td-0.3.0 src/main/java/org/embulk/output/td/writer/StringFieldWriter.java
embulk-output-td-0.2.2 src/main/java/org/embulk/output/td/writer/StringFieldWriter.java
embulk-output-td-0.2.1 src/main/java/org/embulk/output/td/writer/StringFieldWriter.java
embulk-output-td-0.2.0 src/main/java/org/embulk/output/td/writer/StringFieldWriter.java
embulk-output-td-0.1.8 src/main/java/org/embulk/output/td/writer/StringFieldWriter.java
embulk-output-td-0.1.7 src/main/java/org/embulk/output/td/writer/StringFieldWriter.java
embulk-output-td-0.1.6 src/main/java/org/embulk/output/td/writer/StringFieldWriter.java
embulk-output-td-0.1.5 src/main/java/org/embulk/output/td/writer/StringFieldWriter.java