Skip to content

Commit 9380ac5

Browse files
committed
---
yaml --- r: 4289 b: refs/heads/gcs-nio c: 2fc3c21 h: refs/heads/master i: 4287: a65ce84
1 parent 4343de7 commit 9380ac5

364 files changed

Lines changed: 1364 additions & 1360 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ refs/tags/v0.0.12: 2fd8066e891fb3dfea69b65f6bf6461db79342b9
1111
refs/heads/compute-alpha: 969cba2627f1d53d352cc4a5ffe0879dacf65e6c
1212
refs/heads/dns-alpha: 2f90e7e338349287ace33375896907af0f032ca1
1313
refs/heads/dns-alpha-batch: 17442b07867021b85d0452f5f3eda29a3413288f
14-
refs/heads/gcs-nio: 67609eef22aa04194cf2c40bd197522a0cfd60bb
14+
refs/heads/gcs-nio: 2fc3c21d94cc7ce36c918d979e6309d30c07752b
1515
refs/heads/logging-alpha: db5312bffa7fccac194f6a7feb8cc3066de16aff
1616
refs/tags/v0.1.0: a615317f7424ed58621b1f65d5c4d8cbbe8a6ed8
1717
refs/tags/v0.1.1: 7a7f6985fe465e9dd6a075af55493f42b4933be0

branches/gcs-nio/README.md

Lines changed: 70 additions & 70 deletions
Large diffs are not rendered by default.

branches/gcs-nio/TESTING.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ You can test against a temporary local Resource Manager by following these steps
8989
1. Before running your testing code, start the Resource Manager emulator `LocalResourceManagerHelper`. This can be done as follows:
9090

9191
```java
92-
import com.google.gcloud.resourcemanager.testing.LocalResourceManagerHelper;
93-
9492
LocalResourceManagerHelper helper = LocalResourceManagerHelper.create();
9593
helper.start();
9694
```

branches/gcs-nio/gcloud-java-bigquery/README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ Java idiomatic client for [Google Cloud BigQuery] (https://cloud.google.com/bigq
55

66
[![Build Status](https://travis-ci.org/GoogleCloudPlatform/gcloud-java.svg?branch=master)](https://travis-ci.org/GoogleCloudPlatform/gcloud-java)
77
[![Coverage Status](https://coveralls.io/repos/GoogleCloudPlatform/gcloud-java/badge.svg?branch=master)](https://coveralls.io/r/GoogleCloudPlatform/gcloud-java?branch=master)
8-
[![Maven](https://img.shields.io/maven-central/v/com.google.gcloud/gcloud-java-bigquery.svg)]( https://img.shields.io/maven-central/v/com.google.gcloud/gcloud-java-bigquery.svg)
8+
[![Maven](https://img.shields.io/maven-central/v/com.google.cloud/gcloud-java-bigquery.svg)]( https://img.shields.io/maven-central/v/com.google.cloud/gcloud-java-bigquery.svg)
99
[![Codacy Badge](https://api.codacy.com/project/badge/grade/9da006ad7c3a4fe1abd142e77c003917)](https://www.codacy.com/app/mziccard/gcloud-java)
1010
[![Dependency Status](https://www.versioneye.com/user/projects/56bd8ee72a29ed002d2b0969/badge.svg?style=flat)](https://www.versioneye.com/user/projects/56bd8ee72a29ed002d2b0969)
1111

1212
- [Homepage] (https://googlecloudplatform.github.io/gcloud-java/)
13-
- [API Documentation] (http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/gcloud/bigquery/package-summary.html)
13+
- [API Documentation] (http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/cloud/bigquery/package-summary.html)
1414

1515
> Note: This client is a work-in-progress, and may occasionally
1616
> make backwards-incompatible changes.
@@ -20,24 +20,24 @@ Quickstart
2020
If you are using Maven, add this to your pom.xml file
2121
```xml
2222
<dependency>
23-
<groupId>com.google.gcloud</groupId>
23+
<groupId>com.google.cloud</groupId>
2424
<artifactId>gcloud-java-bigquery</artifactId>
2525
<version>0.1.7</version>
2626
</dependency>
2727
```
2828
If you are using Gradle, add this to your dependencies
2929
```Groovy
30-
compile 'com.google.gcloud:gcloud-java-bigquery:0.1.7'
30+
compile 'com.google.cloud:gcloud-java-bigquery:0.1.7'
3131
```
3232
If you are using SBT, add this to your dependencies
3333
```Scala
34-
libraryDependencies += "com.google.gcloud" % "gcloud-java-bigquery" % "0.1.7"
34+
libraryDependencies += "com.google.cloud" % "gcloud-java-bigquery" % "0.1.7"
3535
```
3636

3737
Example Application
3838
-------------------
39-
- [`BigQueryExample`](../gcloud-java-examples/src/main/java/com/google/gcloud/examples/bigquery/BigQueryExample.java) - A simple command line interface providing some of Cloud BigQuery's functionality.
40-
Read more about using this application on the [`BigQueryExample` docs page](http://googlecloudplatform.github.io/gcloud-java/apidocs/?com/google/gcloud/examples/bigquery/BigQueryExample.html).
39+
- [`BigQueryExample`](../gcloud-java-examples/src/main/java/com/google/cloud/examples/bigquery/BigQueryExample.java) - A simple command line interface providing some of Cloud BigQuery's functionality.
40+
Read more about using this application on the [`BigQueryExample` docs page](http://googlecloudplatform.github.io/gcloud-java/apidocs/?com/google/cloud/examples/bigquery/BigQueryExample.html).
4141

4242
Authentication
4343
--------------
@@ -82,8 +82,8 @@ These credentials are automatically inferred from your environment, so you only
8282
code to create your service object:
8383

8484
```java
85-
import com.google.gcloud.bigquery.BigQuery;
86-
import com.google.gcloud.bigquery.BigQueryOptions;
85+
import com.google.cloud.bigquery.BigQuery;
86+
import com.google.cloud.bigquery.BigQueryOptions;
8787

8888
BigQuery bigquery = BigQueryOptions.defaultInstance().service();
8989
```
@@ -96,7 +96,7 @@ With BigQuery you can create datasets. A dataset is a grouping mechanism that ho
9696
tables. Add the following import at the top of your file:
9797

9898
```java
99-
import com.google.gcloud.bigquery.DatasetInfo;
99+
import com.google.cloud.bigquery.DatasetInfo;
100100
```
101101
Then, to create the dataset, use the following code:
102102

@@ -113,12 +113,12 @@ are created from a BigQuery SQL query. In this code snippet we show how to creat
113113
with only one string field. Add the following imports at the top of your file:
114114

115115
```java
116-
import com.google.gcloud.bigquery.Field;
117-
import com.google.gcloud.bigquery.Schema;
118-
import com.google.gcloud.bigquery.StandardTableDefinition;
119-
import com.google.gcloud.bigquery.Table;
120-
import com.google.gcloud.bigquery.TableId;
121-
import com.google.gcloud.bigquery.TableInfo;
116+
import com.google.cloud.bigquery.Field;
117+
import com.google.cloud.bigquery.Schema;
118+
import com.google.cloud.bigquery.StandardTableDefinition;
119+
import com.google.cloud.bigquery.Table;
120+
import com.google.cloud.bigquery.TableId;
121+
import com.google.cloud.bigquery.TableInfo;
122122
```
123123
Then add the following code to create the table:
124124

@@ -139,8 +139,8 @@ Google Cloud Storage file. In this code snippet we show how to stream rows into
139139
Add the following imports at the top of your file:
140140

141141
```java
142-
import com.google.gcloud.bigquery.InsertAllRequest;
143-
import com.google.gcloud.bigquery.InsertAllResponse;
142+
import com.google.cloud.bigquery.InsertAllRequest;
143+
import com.google.cloud.bigquery.InsertAllResponse;
144144

145145
import java.util.HashMap;
146146
import java.util.Map;
@@ -171,9 +171,9 @@ directly or through a Query Job. In this code snippet we show how to run a query
171171
for the result. Add the following imports at the top of your file:
172172

173173
```java
174-
import com.google.gcloud.bigquery.FieldValue;
175-
import com.google.gcloud.bigquery.QueryRequest;
176-
import com.google.gcloud.bigquery.QueryResponse;
174+
import com.google.cloud.bigquery.FieldValue;
175+
import com.google.cloud.bigquery.QueryRequest;
176+
import com.google.cloud.bigquery.QueryResponse;
177177

178178
import java.util.Iterator;
179179
import java.util.List;
@@ -203,7 +203,7 @@ while (rowIterator.hasNext()) {
203203
#### Complete source code
204204

205205
In
206-
[InsertDataAndQueryTable.java](../gcloud-java-examples/src/main/java/com/google/gcloud/examples/bigquery/snippets/InsertDataAndQueryTable.java)
206+
[InsertDataAndQueryTable.java](../gcloud-java-examples/src/main/java/com/google/cloud/examples/bigquery/snippets/InsertDataAndQueryTable.java)
207207
we put together all the code shown above into one program. The program assumes that you are
208208
running on Compute Engine or from your own desktop. To run the example on App Engine, simply move
209209
the code from the main method to your application's servlet class and change the print statements to
@@ -255,4 +255,4 @@ Apache 2.0 - See [LICENSE] for more information.
255255

256256
[cloud-bigquery]: https://cloud.google.com/bigquery/
257257
[cloud-storage]: https://cloud.google.com/storage/
258-
[bigquery-api]: http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/gcloud/bigquery/package-summary.html
258+
[bigquery-api]: http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/cloud/bigquery/package-summary.html

branches/gcs-nio/gcloud-java-bigquery/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Java idiomatic client for Google Cloud BigQuery.
99
</description>
1010
<parent>
11-
<groupId>com.google.gcloud</groupId>
11+
<groupId>com.google.cloud</groupId>
1212
<artifactId>gcloud-java-pom</artifactId>
1313
<version>0.1.8-SNAPSHOT</version>
1414
</parent>

branches/gcs-nio/gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery/Acl.java renamed to branches/gcs-nio/gcloud-java-bigquery/src/main/java/com/google/cloud/bigquery/Acl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.google.gcloud.bigquery;
17+
package com.google.cloud.bigquery;
1818

1919
import static com.google.common.base.Preconditions.checkNotNull;
2020

branches/gcs-nio/gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery/BigQuery.java renamed to branches/gcs-nio/gcloud-java-bigquery/src/main/java/com/google/cloud/bigquery/BigQuery.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.google.gcloud.bigquery;
17+
package com.google.cloud.bigquery;
1818

1919
import static com.google.common.base.Preconditions.checkArgument;
2020

2121
import com.google.common.base.Function;
2222
import com.google.common.collect.ImmutableList;
2323
import com.google.common.collect.Lists;
24-
import com.google.gcloud.FieldSelector;
25-
import com.google.gcloud.FieldSelector.Helper;
26-
import com.google.gcloud.Page;
27-
import com.google.gcloud.Service;
28-
import com.google.gcloud.bigquery.spi.BigQueryRpc;
24+
import com.google.cloud.FieldSelector;
25+
import com.google.cloud.FieldSelector.Helper;
26+
import com.google.cloud.Page;
27+
import com.google.cloud.Service;
28+
import com.google.cloud.bigquery.spi.BigQueryRpc;
2929

3030
import java.util.List;
3131

branches/gcs-nio/gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery/BigQueryError.java renamed to branches/gcs-nio/gcloud-java-bigquery/src/main/java/com/google/cloud/bigquery/BigQueryError.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.google.gcloud.bigquery;
1+
package com.google.cloud.bigquery;
22

33
import com.google.api.services.bigquery.model.ErrorProto;
44
import com.google.common.base.Function;

branches/gcs-nio/gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery/BigQueryException.java renamed to branches/gcs-nio/gcloud-java-bigquery/src/main/java/com/google/cloud/bigquery/BigQueryException.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.google.gcloud.bigquery;
17+
package com.google.cloud.bigquery;
1818

1919
import com.google.common.collect.ImmutableSet;
20-
import com.google.gcloud.BaseServiceException;
21-
import com.google.gcloud.RetryHelper.RetryHelperException;
22-
import com.google.gcloud.RetryHelper.RetryInterruptedException;
20+
import com.google.cloud.BaseServiceException;
21+
import com.google.cloud.RetryHelper.RetryHelperException;
22+
import com.google.cloud.RetryHelper.RetryInterruptedException;
2323

2424
import java.io.IOException;
2525
import java.util.Objects;

branches/gcs-nio/gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery/BigQueryFactory.java renamed to branches/gcs-nio/gcloud-java-bigquery/src/main/java/com/google/cloud/bigquery/BigQueryFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.google.gcloud.bigquery;
17+
package com.google.cloud.bigquery;
1818

19-
import com.google.gcloud.ServiceFactory;
19+
import com.google.cloud.ServiceFactory;
2020

2121
/**
2222
* An interface for BigQuery factories.

0 commit comments

Comments
 (0)