GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Delete old Bigquery samples and link new location. (#2060) · shinyay/java-docs-samples@2dfe7f1

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • bigquery/cloud-client
    • .gitignore
    • README.md
    • pom.xml
    • src
      • main/java/com/example/bigquery
        • AuthSnippets.java
        • CreateDataset.java
        • DeleteDataset.java
        • ListDatasets.java
        • QuickstartSample.java
        • SimpleApp.java
        • UpdateDatasetAccess.java
        • UpdateDatasetDescription.java
        • UpdateDatasetExpiration.java
      • test/java/com/example/bigquery
        • AuthSnippetsIT.java
        • CreateDatasetIT.java
        • DeleteDatasetIT.java
        • ListDatasetsIT.java
        • QuickstartSampleIT.java
        • SimpleAppIT.java
        • UpdateDatasetAccessIT.java
        • UpdateDatasetDescriptionIT.java
        • UpdateDatasetExpirationIT.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎bigquery/cloud-client/.gitignore‎

Copy file name to clipboardExpand all lines: bigquery/cloud-client/.gitignore
-1Lines changed: 0 additions & 1 deletion
This file was deleted.
Collapse file

‎bigquery/cloud-client/README.md‎

Copy file name to clipboard
+2-46Lines changed: 2 additions & 46 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,4 @@
11
# Getting Started with BigQuery and the Google Java API Client library
22

3-
<a href="https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/java-docs-samples&page=editor&open_in_editor=README.md&cloudshell_working_dir=bigquery/cloud-client/">
4-
<img alt="Open in Cloud Shell" src ="http://gstatic.com/cloudssh/images/open-btn.png"></a>
5-
6-
[Google's BigQuery Service][BigQuery] features a REST-based API that allows
7-
developers to create applications to run ad-hoc queries on massive datasets.
8-
These sample Java applications demonstrate how to access the BigQuery API using
9-
the [Google Cloud Client Library for Java][google-cloud-java].
10-
11-
[BigQuery]: https://cloud.google.com/bigquery/
12-
[google-cloud-java]: https://github.com/GoogleCloudPlatform/google-cloud-java
13-
14-
## Quickstart
15-
16-
Install [Maven](http://maven.apache.org/).
17-
18-
[Authenticate using a service account](https://cloud.google.com/docs/authentication/getting-started).
19-
Create a service account, download a JSON key file, and set the `GOOGLE_APPLICATION_CREDENTIALS` environment variable.
20-
21-
Build your project with:
22-
23-
mvn clean package -DskipTests
24-
25-
You can then run a given `ClassName` via:
26-
27-
mvn exec:java -Dexec.mainClass=com.example.bigquery.ClassName \
28-
-DpropertyName=propertyValue \
29-
-Dexec.args="any arguments to the app"
30-
31-
### Creating a new dataset (using the quickstart sample)
32-
33-
mvn exec:java -Dexec.mainClass=com.example.bigquery.QuickstartSample
34-
35-
### Running a query using standard SQL syntax
36-
37-
mvn exec:java -Dexec.mainClass=com.example.bigquery.QuerySample \
38-
-Dexec.args=' \
39-
--query="SELECT corpus FROM `bigquery-public-data.samples.shakespeare` GROUP BY corpus;" \
40-
--runStandardSqlQuery'
41-
42-
### Running the simple app example
43-
44-
To run the example from the [simple app example
45-
documentation](https://cloud.google.com/bigquery/create-simple-app-api):
46-
47-
mvn exec:java -Dexec.mainClass=com.example.bigquery.SimpleApp
48-
3+
This sample has moved to a new location:
4+
https://github.com/googleapis/java-bigquery/tree/master/samples
Collapse file

‎bigquery/cloud-client/pom.xml‎

Copy file name to clipboardExpand all lines: bigquery/cloud-client/pom.xml
-86Lines changed: 0 additions & 86 deletions
This file was deleted.
Collapse file

‎bigquery/cloud-client/src/main/java/com/example/bigquery/AuthSnippets.java‎

Copy file name to clipboardExpand all lines: bigquery/cloud-client/src/main/java/com/example/bigquery/AuthSnippets.java
-94Lines changed: 0 additions & 94 deletions
This file was deleted.
Collapse file

‎bigquery/cloud-client/src/main/java/com/example/bigquery/CreateDataset.java‎

Copy file name to clipboardExpand all lines: bigquery/cloud-client/src/main/java/com/example/bigquery/CreateDataset.java
-49Lines changed: 0 additions & 49 deletions
This file was deleted.
Collapse file

‎bigquery/cloud-client/src/main/java/com/example/bigquery/DeleteDataset.java‎

Copy file name to clipboardExpand all lines: bigquery/cloud-client/src/main/java/com/example/bigquery/DeleteDataset.java
-48Lines changed: 0 additions & 48 deletions
This file was deleted.
Collapse file

‎bigquery/cloud-client/src/main/java/com/example/bigquery/ListDatasets.java‎

Copy file name to clipboardExpand all lines: bigquery/cloud-client/src/main/java/com/example/bigquery/ListDatasets.java
-51Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.