public static final class Bigquery.Builder extends AbstractGoogleJsonClient.Builder
Bigquery
.
Implementation is not thread-safe.
Constructor and Description |
---|
Bigquery.Builder(HttpTransport transport,
JsonFactory jsonFactory,
HttpRequestInitializer httpRequestInitializer)
Returns an instance of a new builder.
|
Modifier and Type | Method and Description |
---|---|
Bigquery |
build()
Builds a new instance of
Bigquery . |
Bigquery.Builder |
setApplicationName(String applicationName) |
Bigquery.Builder |
setBigqueryRequestInitializer(BigqueryRequestInitializer bigqueryRequestInitializer)
Set the
BigqueryRequestInitializer . |
Bigquery.Builder |
setGoogleClientRequestInitializer(GoogleClientRequestInitializer googleClientRequestInitializer) |
Bigquery.Builder |
setHttpRequestInitializer(HttpRequestInitializer httpRequestInitializer) |
Bigquery.Builder |
setRootUrl(String rootUrl) |
Bigquery.Builder |
setServicePath(String servicePath) |
Bigquery.Builder |
setSuppressAllChecks(boolean suppressAllChecks) |
Bigquery.Builder |
setSuppressPatternChecks(boolean suppressPatternChecks) |
Bigquery.Builder |
setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks) |
getJsonFactory, getObjectParser
getApplicationName, getGoogleClientRequestInitializer, getHttpRequestInitializer, getRootUrl, getServicePath, getSuppressPatternChecks, getSuppressRequiredParameterChecks, getTransport
public Bigquery.Builder(HttpTransport transport, JsonFactory jsonFactory, HttpRequestInitializer httpRequestInitializer)
transport
- HTTP transport, which should normally be:
com.google.api.client.extensions.appengine.http.UrlFetchTransport
newCompatibleTransport
from
com.google.api.client.extensions.android.http.AndroidHttp
GoogleNetHttpTransport
jsonFactory
- JSON factory, which may be:
com.google.api.client.json.jackson2.JacksonFactory
com.google.api.client.json.gson.GsonFactory
com.google.api.client.extensions.android.json.AndroidJsonFactory
httpRequestInitializer
- HTTP request initializer or null
for nonepublic Bigquery build()
Bigquery
.build
in class AbstractGoogleJsonClient.Builder
public Bigquery.Builder setRootUrl(String rootUrl)
setRootUrl
in class AbstractGoogleJsonClient.Builder
public Bigquery.Builder setServicePath(String servicePath)
setServicePath
in class AbstractGoogleJsonClient.Builder
public Bigquery.Builder setHttpRequestInitializer(HttpRequestInitializer httpRequestInitializer)
setHttpRequestInitializer
in class AbstractGoogleJsonClient.Builder
public Bigquery.Builder setApplicationName(String applicationName)
setApplicationName
in class AbstractGoogleJsonClient.Builder
public Bigquery.Builder setSuppressPatternChecks(boolean suppressPatternChecks)
setSuppressPatternChecks
in class AbstractGoogleJsonClient.Builder
public Bigquery.Builder setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks)
setSuppressRequiredParameterChecks
in class AbstractGoogleJsonClient.Builder
public Bigquery.Builder setSuppressAllChecks(boolean suppressAllChecks)
setSuppressAllChecks
in class AbstractGoogleJsonClient.Builder
public Bigquery.Builder setBigqueryRequestInitializer(BigqueryRequestInitializer bigqueryRequestInitializer)
BigqueryRequestInitializer
.public Bigquery.Builder setGoogleClientRequestInitializer(GoogleClientRequestInitializer googleClientRequestInitializer)
setGoogleClientRequestInitializer
in class AbstractGoogleJsonClient.Builder