BigQuery API v2 (revision 88)



com.google.api.services.bigquery
Class Bigquery

java.lang.Object
  extended by com.google.api.client.googleapis.services.AbstractGoogleClient
      extended by com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
          extended by com.google.api.services.bigquery.Bigquery

public class Bigquery
extends AbstractGoogleJsonClient

Service definition for Bigquery (v2).

A data platform for customers to create, manage, share and query data.

For more information about this service, see the API Documentation

This service uses BigqueryRequestInitializer to initialize global parameters via its Bigquery.Builder.

Since:
1.3
Author:
Google, Inc.

Nested Class Summary
static class Bigquery.Builder
          Builder for Bigquery.
 class Bigquery.Datasets
          The "datasets" collection of methods.
 class Bigquery.Jobs
          The "jobs" collection of methods.
 class Bigquery.Projects
          The "projects" collection of methods.
 class Bigquery.Tabledata
          The "tabledata" collection of methods.
 class Bigquery.Tables
          The "tables" collection of methods.
 
Field Summary
static String DEFAULT_BASE_URL
          The default encoded base URL of the service.
static String DEFAULT_ROOT_URL
          The default encoded root URL of the service.
static String DEFAULT_SERVICE_PATH
          The default encoded service path of the service.
 
Constructor Summary
Bigquery(HttpTransport transport, JsonFactory jsonFactory, HttpRequestInitializer httpRequestInitializer)
          Constructor.
 
Method Summary
 Bigquery.Datasets datasets()
          An accessor for creating requests from the Datasets collection.
protected  void initialize(AbstractGoogleClientRequest<?> httpClientRequest)
           
 Bigquery.Jobs jobs()
          An accessor for creating requests from the Jobs collection.
 Bigquery.Projects projects()
          An accessor for creating requests from the Projects collection.
 Bigquery.Tabledata tabledata()
          An accessor for creating requests from the Tabledata collection.
 Bigquery.Tables tables()
          An accessor for creating requests from the Tables collection.
 
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
getJsonFactory, getObjectParser
 
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClient
batch, batch, getApplicationName, getBaseUrl, getGoogleClientRequestInitializer, getRequestFactory, getRootUrl, getServicePath, getSuppressPatternChecks, getSuppressRequiredParameterChecks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ROOT_URL

public static final String DEFAULT_ROOT_URL
The default encoded root URL of the service. This is determined when the library is generated and normally should not be changed.

Since:
1.7
See Also:
Constant Field Values

DEFAULT_SERVICE_PATH

public static final String DEFAULT_SERVICE_PATH
The default encoded service path of the service. This is determined when the library is generated and normally should not be changed.

Since:
1.7
See Also:
Constant Field Values

DEFAULT_BASE_URL

public static final String DEFAULT_BASE_URL
The default encoded base URL of the service. This is determined when the library is generated and normally should not be changed.

See Also:
Constant Field Values
Constructor Detail

Bigquery

public Bigquery(HttpTransport transport,
                JsonFactory jsonFactory,
                HttpRequestInitializer httpRequestInitializer)
Constructor.

Use Bigquery.Builder if you need to specify any of the optional parameters.

Parameters:
transport - HTTP transport, which should normally be:
  • Google App Engine: com.google.api.client.extensions.appengine.http.UrlFetchTransport
  • Android: newCompatibleTransport from com.google.api.client.extensions.android.http.AndroidHttp
  • Java: GoogleNetHttpTransport
jsonFactory - JSON factory, which may be:
  • Jackson: com.google.api.client.json.jackson2.JacksonFactory
  • Google GSON: com.google.api.client.json.gson.GsonFactory
  • Android Honeycomb or higher: com.google.api.client.extensions.android.json.AndroidJsonFactory
httpRequestInitializer - HTTP request initializer or null for none
Since:
1.7
Method Detail

initialize

protected void initialize(AbstractGoogleClientRequest<?> httpClientRequest)
                   throws IOException
Overrides:
initialize in class AbstractGoogleClient
Throws:
IOException

datasets

public Bigquery.Datasets datasets()
An accessor for creating requests from the Datasets collection.

The typical use is:

   Bigquery bigquery = new Bigquery(...);
   Bigquery.Datasets.List request = bigquery.datasets().list(parameters ...)
 

Returns:
the resource collection

jobs

public Bigquery.Jobs jobs()
An accessor for creating requests from the Jobs collection.

The typical use is:

   Bigquery bigquery = new Bigquery(...);
   Bigquery.Jobs.List request = bigquery.jobs().list(parameters ...)
 

Returns:
the resource collection

projects

public Bigquery.Projects projects()
An accessor for creating requests from the Projects collection.

The typical use is:

   Bigquery bigquery = new Bigquery(...);
   Bigquery.Projects.List request = bigquery.projects().list(parameters ...)
 

Returns:
the resource collection

tabledata

public Bigquery.Tabledata tabledata()
An accessor for creating requests from the Tabledata collection.

The typical use is:

   Bigquery bigquery = new Bigquery(...);
   Bigquery.Tabledata.List request = bigquery.tabledata().list(parameters ...)
 

Returns:
the resource collection

tables

public Bigquery.Tables tables()
An accessor for creating requests from the Tables collection.

The typical use is:

   Bigquery bigquery = new Bigquery(...);
   Bigquery.Tables.List request = bigquery.tables().list(parameters ...)
 

Returns:
the resource collection