You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: branches/tswast-patch-1/gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery/InsertAllRequest.java
+34-2Lines changed: 34 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,7 @@ public class InsertAllRequest implements Serializable {
45
45
privatefinalList<RowToInsert> rows;
46
46
privatefinalBooleanskipInvalidRows;
47
47
privatefinalBooleanignoreUnknownValues;
48
+
privatefinalStringtemplateSuffix;
48
49
49
50
/**
50
51
* A Google Big Query row to be inserted into a table. Each {@code RowToInsert} has an associated
@@ -140,6 +141,7 @@ public static final class Builder {
140
141
privateList<RowToInsert> rows;
141
142
privateBooleanskipInvalidRows;
142
143
privateBooleanignoreUnknownValues;
144
+
privateStringtemplateSuffix;
143
145
144
146
privateBuilder() {}
145
147
@@ -231,6 +233,20 @@ public Builder ignoreUnknownValues(boolean ignoreUnknownValues) {
231
233
returnthis;
232
234
}
233
235
236
+
/**
237
+
* If specified, the destination table is treated as a base template. Rows are inserted into an
238
+
* instance table named "{destination}{templateSuffix}". BigQuery will manage the creation of
239
+
* the instance table, using the schema of the base template table.
Copy file name to clipboardExpand all lines: branches/tswast-patch-1/gcloud-java-bigquery/src/test/java/com/google/gcloud/bigquery/BigQueryImplTest.java
Copy file name to clipboardExpand all lines: branches/tswast-patch-1/gcloud-java-bigquery/src/test/java/com/google/gcloud/bigquery/InsertAllRequestTest.java
+39-14Lines changed: 39 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@
18
18
19
19
importstaticorg.junit.Assert.assertEquals;
20
20
importstaticorg.junit.Assert.assertFalse;
21
+
importstaticorg.junit.Assert.assertNull;
21
22
importstaticorg.junit.Assert.assertTrue;
22
23
23
24
importcom.google.common.collect.ImmutableList;
@@ -45,6 +46,7 @@ public class InsertAllRequestTest {
Copy file name to clipboardExpand all lines: branches/tswast-patch-1/gcloud-java-resourcemanager/src/main/java/com/google/gcloud/resourcemanager/package-info.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@
18
18
* A client to Google Cloud Resource Manager.
19
19
*
20
20
* <p>Here's a simple usage example for using gcloud-java-resourcemanager:
0 commit comments