Sha256: 35a62df05e08cb4eecd2663d1c791ddb8b04753c52c1f25d642f943d92448734

Contents?: true

Size: 429 Bytes

Versions: 3

Compression:

Stored size: 429 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 LongValueWriter
        extends AbstractValueWriter {

    public LongValueWriter(final Column column) {
        super(column);
    }

    @Override
    public void writeNotNull(final Value v, final PageBuilder to) {
        to.setLong(index, v.asIntegerValue().toLong());
    }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
embulk-input-td-0.2.3 src/main/java/org/embulk/input/td/writer/LongValueWriter.java
embulk-input-td-0.2.2 src/main/java/org/embulk/input/td/writer/LongValueWriter.java
embulk-input-td-0.2.1 src/main/java/org/embulk/input/td/writer/LongValueWriter.java