Sha256: 99aa27ce5e9e0937b4cb7a64054d9ebfea88e0c579cfe4f9d7974be4808e19b6
Contents?: true
Size: 448 Bytes
Versions: 1
Compression:
Stored size: 448 Bytes
Contents
package org.embulk.input.singer_tap; import com.fasterxml.jackson.databind.JsonNode; import org.embulk.spi.type.Type; import org.embulk.spi.type.Types; import org.msgpack.value.Value; import org.msgpack.value.ValueFactory; public class IntegerParser implements RecordParser { @Override public Value parse(JsonNode node) { return ValueFactory.newInteger(node.asLong()); } public Type embulkType() { return Types.LONG; } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
embulk-input-singer_tap-0.1.0 | src/main/java/org/embulk/input/singer_tap/IntegerParser.java |