Sha256: 5adb05e9e8b602dba02c940fe6e311c28b2cd76524f21946c3b21380c6ac1c25
Contents?: true
Size: 1018 Bytes
Versions: 8
Compression:
Stored size: 1018 Bytes
Contents
package org.embulk.output.jdbc.setter; import java.io.IOException; import java.sql.SQLException; import org.embulk.spi.PageReader; import org.embulk.spi.time.Timestamp; import org.embulk.output.jdbc.JdbcColumn; import org.embulk.output.jdbc.BatchInsert; public class NullColumnSetter extends ColumnSetter { public NullColumnSetter(BatchInsert batch, PageReader pageReader, JdbcColumn column) { super(batch, pageReader, column); } protected void booleanValue(boolean v) throws IOException, SQLException { nullValue(); } protected void longValue(long v) throws IOException, SQLException { nullValue(); } protected void doubleValue(double v) throws IOException, SQLException { nullValue(); } protected void stringValue(String v) throws IOException, SQLException { nullValue(); } protected void timestampValue(Timestamp v) throws IOException, SQLException { nullValue(); } }
Version data entries
8 entries across 8 versions & 1 rubygems