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
-[`BigQueryExample`](https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/gcloud-java-examples/src/main/java/com/google/gcloud/examples/BigQueryExample.java) - A simple command line interface providing some of Cloud BigQuery's functionality
46
+
- Read more about using this application on the [`gcloud-java-examples` docs page](http://googlecloudplatform.github.io/gcloud-java/apidocs/?com/google/gcloud/examples/BigQueryExample.html).
45
47
-[`DatastoreExample`](https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/gcloud-java-examples/src/main/java/com/google/gcloud/examples/DatastoreExample.java) - A simple command line interface for the Cloud Datastore
46
48
- Read more about using this application on the [`gcloud-java-examples` docs page](http://googlecloudplatform.github.io/gcloud-java/apidocs/?com/google/gcloud/examples/DatastoreExample.html).
47
-
-[`StorageExample`](https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/gcloud-java-examples/src/main/java/com/google/gcloud/examples/StorageExample.java) - A simple command line interface providing some of Cloud Storage's functionality
48
-
- Read more about using this application on the [`gcloud-java-examples` docs page](http://googlecloudplatform.github.io/gcloud-java/apidocs/?com/google/gcloud/examples/StorageExample.html).
49
49
-[`ResourceManagerExample`](https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/gcloud-java-examples/src/main/java/com/google/gcloud/examples/ResourceManagerExample.java) - A simple command line interface providing some of Cloud Resource Manager's functionality
50
50
- Read more about using this application on the [`gcloud-java-examples` docs page](http://googlecloudplatform.github.io/gcloud-java/apidocs/?com/google/gcloud/examples/ResourceManagerExample.html).
51
-
-[`BigQueryExample`](https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/gcloud-java-examples/src/main/java/com/google/gcloud/examples/BigQueryExample.java) - A simple command line interface providing some of Cloud BigQuery's functionality
52
-
- Read more about using this application on the [`gcloud-java-examples` docs page](http://googlecloudplatform.github.io/gcloud-java/apidocs/?com/google/gcloud/examples/BigQueryExample.html).
51
+
-[`StorageExample`](https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/gcloud-java-examples/src/main/java/com/google/gcloud/examples/StorageExample.java) - A simple command line interface providing some of Cloud Storage's functionality
52
+
- Read more about using this application on the [`gcloud-java-examples` docs page](http://googlecloudplatform.github.io/gcloud-java/apidocs/?com/google/gcloud/examples/StorageExample.html).
53
53
54
54
Specifying a Project ID
55
55
-----------------------
@@ -109,6 +109,51 @@ Next, choose a method for authenticating API requests from within your project:
109
109
4. Google Cloud SDK credentials
110
110
5. Compute Engine credentials
111
111
112
+
Google Cloud BigQuery
113
+
----------------------
114
+
115
+
- [API Documentation][bigquery-api]
116
+
- [Official Documentation][cloud-bigquery-docs]
117
+
118
+
#### Preview
119
+
120
+
Here is a code snippet showing a simple usage example from within Compute/App Engine. Note that you
121
+
must [supply credentials](#authentication) and a project ID if running this snippet elsewhere.
while (loadJob.status().state() != JobStatus.State.DONE) {
146
+
Thread.sleep(1000L);
147
+
loadJob = bigquery.getJob(loadJob.jobId());
148
+
}
149
+
if (loadJob.status().error() != null) {
150
+
System.out.println("Job completed with errors");
151
+
} else {
152
+
System.out.println("Job succeeded");
153
+
}
154
+
}
155
+
```
156
+
112
157
Google Cloud Datastore
113
158
----------------------
114
159
@@ -149,45 +194,6 @@ if (entity == null) {
149
194
}
150
195
```
151
196
152
-
Google Cloud Storage
153
-
----------------------
154
-
155
-
- [API Documentation][storage-api]
156
-
- [Official Documentation][cloud-storage-docs]
157
-
158
-
*Follow the [activation instructions][cloud-storage-activation] to use the Google Cloud Storage API with your project.*
159
-
160
-
#### Preview
161
-
162
-
Here is a code snippet showing a simple usage example from within Compute/App Engine. Note that you must [supply credentials](#authentication) and a project ID if running this snippet elsewhere.
@@ -219,48 +225,42 @@ while (projectIterator.hasNext()) {
219
225
}
220
226
```
221
227
222
-
Google Cloud BigQuery
228
+
Google Cloud Storage
223
229
----------------------
224
230
225
-
- [API Documentation][bigquery-api]
226
-
- [Official Documentation][cloud-bigquery-docs]
231
+
- [API Documentation][storage-api]
232
+
- [Official Documentation][cloud-storage-docs]
233
+
234
+
*Follow the [activation instructions][cloud-storage-activation] to use the Google Cloud Storage API with your project.*
227
235
228
236
#### Preview
229
237
230
-
Here is a code snippet showing a simple usage example from within Compute/App Engine. Note that you
231
-
must [supply credentials](#authentication) and a project ID if running this snippet elsewhere.
238
+
Here is a code snippet showing a simple usage example from within Compute/App Engine. Note that you must [supply credentials](#authentication) and a project ID if running this snippet elsewhere.
Copy file name to clipboardExpand all lines: branches/tswast-patch-1/gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery/InsertAllRequest.java
+2-34Lines changed: 2 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,6 @@ public class InsertAllRequest implements Serializable {
45
45
privatefinalList<RowToInsert> rows;
46
46
privatefinalBooleanskipInvalidRows;
47
47
privatefinalBooleanignoreUnknownValues;
48
-
privatefinalStringtemplateSuffix;
49
48
50
49
/**
51
50
* A Google Big Query row to be inserted into a table. Each {@code RowToInsert} has an associated
@@ -141,7 +140,6 @@ public static final class Builder {
141
140
privateList<RowToInsert> rows;
142
141
privateBooleanskipInvalidRows;
143
142
privateBooleanignoreUnknownValues;
144
-
privateStringtemplateSuffix;
145
143
146
144
privateBuilder() {}
147
145
@@ -233,20 +231,6 @@ public Builder ignoreUnknownValues(boolean ignoreUnknownValues) {
233
231
returnthis;
234
232
}
235
233
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
0 commit comments