Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.

googlearchive/bigquery-samples-java

Repository files navigation

status: inactive

DEPRICATED

This project is no longer actively developed or maintained.  

For new work on this check out java-docs-samples/bigquery

Getting Started with BigQuery and the Google Java API Client library

Google's BigQuery Service features a REST-based API that allows developers to create applications to run ad-hoc queries on massive datasets. This sample Java command-line application demonstrates how to access the BigQuery API using the Google Java API Client Libraries. For more information, read the Getting Started with BigQuery and the Google Java API Client library codelab.

Quickstart

Install Maven.

In the BigQueryJavaGettingStarted class, update the PROJECT_ID and CLIENTSECRETS_LOCATION values with your project number and the path to your downloaded client secrets file, as described here.

Then build your project with:

mvn package

You can then run it via:

mvn exec:java

Products

Language

Dependencies

About

A sample Java application that accesses the BigQuery API using the Google Java API Client Libraries. Used in the Google BigQuery Java Codelab

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages