Sha256: db3f006b37e62df4a0318735e86634dc033c1f776c60cf142afec5a7a4eee743
Contents?: true
Size: 562 Bytes
Versions: 30
Compression:
Stored size: 562 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 TimestampLongFieldWriter extends FieldWriter { public TimestampLongFieldWriter(String keyName) { super(keyName); } @Override public void writeValue(MsgpackGZFileBuilder builder, PageReader reader, Column column) throws IOException { builder.writeLong(reader.getTimestamp(column).getEpochSecond()); } }
Version data entries
30 entries across 30 versions & 1 rubygems