ajamato commented on a change in pull request #14489:
URL: https://github.com/apache/beam/pull/14489#discussion_r617996140
##########
File path:
examples/java/src/main/java/org/apache/beam/examples/cookbook/BigQueryTornadoes.java
##########
@@ -151,6 +154,24 @@ public void processElement(ProcessContext c) {
void setReadMethod(TypedRead.Method value);
+ @Description("Mode to use when writing to BigQuery")
+ @Default.Enum("DEFAULT")
+ BigQueryIO.Write.Method getWriteMethod();
+
+ void setWriteMethod(BigQueryIO.Write.Method value);
+
+ @Description("Mode to use when writing to BigQuery")
Review comment:
Done.
##########
File path:
examples/java/src/main/java/org/apache/beam/examples/cookbook/BigQueryTornadoes.java
##########
@@ -151,6 +154,24 @@ public void processElement(ProcessContext c) {
void setReadMethod(TypedRead.Method value);
+ @Description("Mode to use when writing to BigQuery")
+ @Default.Enum("DEFAULT")
+ BigQueryIO.Write.Method getWriteMethod();
+
+ void setWriteMethod(BigQueryIO.Write.Method value);
+
+ @Description("Mode to use when writing to BigQuery")
+ @Default.Enum("WRITE_TRUNCATE")
+ BigQueryIO.Write.WriteDisposition getWriteDisposition();
+
+ void setWriteDisposition(BigQueryIO.Write.WriteDisposition value);
+
+ @Description("Table Creation mode to use when writing to BigQuery")
Review comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]