X Tutup
Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

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. These sample Java applications demonstrate 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.

API Libraries

  • cloud-client (Preferred Option)
    • This is Google Cloud's Official API Client, and the recommended way to interact with BQ
  • rest
    • This shows java code implementing a sample client by making use of BQ's RESTful API.
  • src
    • This client was generated by running the veneer on the BQ protobuf definition. It demonstrates how you can build client libraries against our apiary service even if an official client library does not exist.

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

Dependencies

X Tutup