Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.19 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.19 KB

Getting Started with BigQuery

Google's BigQuery Service features a REST-based API that allows developers to create applications to run ad-hoc queries on massive datasets. These sample Java applications demonstrate how to access the BigQuery API.

API Libraries

We provide samples for multiple methods of accessing the APIs in case you need lower-level access, but the cloud-client samples are idiomatic and show the recommended way to access the API.

  • cloud-client (Preferred Option)
  • rest
    • This uses BigQuery's RESTful API directly. Not recommended.

Quickstart

Install Maven.

Build your project with:

mvn clean package -DskipTests

You can then run a given ClassName via:

mvn exec:java -Dexec.mainClass=com.google.cloud.bigquery.samples.ClassName \
	-Dexec.args="any arguments to the app"

Products

Language