Sha256: b6a407fbf239ec70698879530b2b113ecb773ed5ff737d12bbbf7c02c505e80a
Contents?: true
Size: 883 Bytes
Versions: 1
Compression:
Stored size: 883 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 org.embulk.spi.time.TimestampFormatter; import java.io.IOException; public class TimestampFieldLongDuplicator extends TimestampStringFieldWriter { private final TimestampLongFieldWriter timeFieldWriter; public TimestampFieldLongDuplicator(TimestampFormatter formatter, String keyName, String longDuplicateKeyName) { super(formatter, keyName); timeFieldWriter = new TimestampLongFieldWriter(longDuplicateKeyName); } @Override public void writeValue(MsgpackGZFileBuilder builder, PageReader reader, Column column) throws IOException { super.writeValue(builder, reader, column); timeFieldWriter.writeKeyValue(builder, reader, column); } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
embulk-output-td-0.1.5 | src/main/java/org/embulk/output/td/writer/TimestampFieldLongDuplicator.java |