Sha256: fa8a9fdd1cdbf9b71d67b58a49065eee140178e342d53f84cf17d59b9fa744f4

Contents?: true

Size: 431 Bytes

Versions: 2

Compression:

Stored size: 431 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 BooleanValueWriter
        extends AbstractValueWriter
{
    public BooleanValueWriter(Column column)
    {
        super(column);
    }

    @Override
    public void writeNotNull(Value v, PageBuilder to)
    {
        to.setBoolean(index, v.asBooleanValue().getBoolean());
    }
}

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/BooleanValueWriter.java
embulk-input-td-0.1.0 src/main/java/org/embulk/input/td/writer/BooleanValueWriter.java