src/main/java/org/embulk/output/jdbc/setter/ColumnSetter.java in embulk-output-jdbc-0.5.1 vs src/main/java/org/embulk/output/jdbc/setter/ColumnSetter.java in embulk-output-jdbc-0.6.0
- old
+ new
@@ -1,12 +1,14 @@
package org.embulk.output.jdbc.setter;
import java.io.IOException;
import java.sql.SQLException;
-import org.embulk.spi.time.Timestamp;
-import org.embulk.output.jdbc.JdbcColumn;
+
import org.embulk.output.jdbc.BatchInsert;
+import org.embulk.output.jdbc.JdbcColumn;
+import org.embulk.spi.time.Timestamp;
+import org.msgpack.value.Value;
public abstract class ColumnSetter
{
protected final BatchInsert batch;
protected final JdbcColumn column;
@@ -39,6 +41,8 @@
public abstract void doubleValue(double v) throws IOException, SQLException;
public abstract void stringValue(String v) throws IOException, SQLException;
public abstract void timestampValue(Timestamp v) throws IOException, SQLException;
+
+ public abstract void jsonValue(Value v) throws IOException, SQLException;
}