Class BigQueryOptions (2.55.2)

publicclass BigQueryOptionsextendsServiceOptions<BigQuery,BigQueryOptions>

Inheritance

Object > com.google.cloud.ServiceOptions > BigQueryOptions

Inherited Members

com.google.cloud.ServiceOptions.<B>toBuilder()
com.google.cloud.ServiceOptions.<T>getFromServiceLoader(java.lang.Class<? extends T>,T)
com.google.cloud.ServiceOptions.<T>newInstance(java.lang.String)
com.google.cloud.ServiceOptions.baseEquals(com.google.cloud.ServiceOptions<?,?>)
com.google.cloud.ServiceOptions.baseHashCode()
com.google.cloud.ServiceOptions.defaultRetrySettings()
com.google.cloud.ServiceOptions.getApiTracerFactory()
com.google.cloud.ServiceOptions.getAppEngineAppId()
com.google.cloud.ServiceOptions.getAppEngineProjectId()
com.google.cloud.ServiceOptions.getAppEngineProjectIdFromAppId()
com.google.cloud.ServiceOptions.getApplicationName()
com.google.cloud.ServiceOptions.getClientLibToken()
com.google.cloud.ServiceOptions.getClock()
com.google.cloud.ServiceOptions.getCredentials()
com.google.cloud.ServiceOptions.getDefaultHost()
com.google.cloud.ServiceOptions.getDefaultProject()
com.google.cloud.ServiceOptions.getDefaultProjectId()
com.google.cloud.ServiceOptions.getDefaultRetrySettings()
com.google.cloud.ServiceOptions.getGoogApiClientLibName()
com.google.cloud.ServiceOptions.getGoogleCloudProjectId()
com.google.cloud.ServiceOptions.getHost()
com.google.cloud.ServiceOptions.getLibraryName()
com.google.cloud.ServiceOptions.getLibraryVersion()
com.google.cloud.ServiceOptions.getMergedHeaderProvider(com.google.api.gax.rpc.HeaderProvider)
com.google.cloud.ServiceOptions.getNoRetrySettings()
com.google.cloud.ServiceOptions.getProjectId()
com.google.cloud.ServiceOptions.getQuotaProjectId()
com.google.cloud.ServiceOptions.getResolvedApiaryHost(java.lang.String)
com.google.cloud.ServiceOptions.getResolvedHost(java.lang.String)
com.google.cloud.ServiceOptions.getRetrySettings()
com.google.cloud.ServiceOptions.getRpc()
com.google.cloud.ServiceOptions.getScopedCredentials()
com.google.cloud.ServiceOptions.getScopes()
com.google.cloud.ServiceOptions.getService()
com.google.cloud.ServiceOptions.getServiceAccountProjectId()
com.google.cloud.ServiceOptions.getTransportOptions()
com.google.cloud.ServiceOptions.getUniverseDomain()
com.google.cloud.ServiceOptions.getUserAgent()
com.google.cloud.ServiceOptions.hasValidUniverseDomain()
com.google.cloud.ServiceOptions.projectIdRequired()
com.google.cloud.ServiceOptions.shouldRefreshRpc(com.google.cloud.ServiceRpc)
com.google.cloud.ServiceOptions.shouldRefreshService(ServiceT)

Static Methods

getDefaultHttpTransportOptions()

publicstaticHttpTransportOptionsgetDefaultHttpTransportOptions()
Returns
Type Description
com.google.cloud.http.HttpTransportOptions

getDefaultInstance()

publicstaticBigQueryOptionsgetDefaultInstance()
Returns
Type Description
BigQueryOptions

newBuilder()

publicstaticBigQueryOptions.BuildernewBuilder()
Returns
Type Description
BigQueryOptions.Builder

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBigQueryRpcV2()

protectedHttpBigQueryRpcgetBigQueryRpcV2()
Returns
Type Description
HttpBigQueryRpc

getDefaultJobCreationMode()

publicQueryJobConfiguration.JobCreationModegetDefaultJobCreationMode()
Returns
Type Description
QueryJobConfiguration.JobCreationMode

getLocation()

publicStringgetLocation()
Returns
Type Description
String

getOpenTelemetryTracer()

publicTracergetOpenTelemetryTracer()

Returns the OpenTelemetry tracer used by this BigQuery instance

Returns
Type Description
io.opentelemetry.api.trace.Tracer

OpenTelemetry tracer object or null if not set

getResultRetryAlgorithm()

publicResultRetryAlgorithm<?>getResultRetryAlgorithm()
Returns
Type Description
ResultRetryAlgorithm<?>

getScopes()

protectedSet<String>getScopes()
Returns
Type Description
Set<String>
Overrides
com.google.cloud.ServiceOptions.getScopes()

getThrowNotFound()

publicbooleangetThrowNotFound()
Returns
Type Description
boolean

getUseInt64Timestamps()

publicbooleangetUseInt64Timestamps()
Returns
Type Description
boolean

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

isOpenTelemetryTracingEnabled()

publicbooleanisOpenTelemetryTracingEnabled()

Returns whether this BigQuery instance has OpenTelemetry tracing enabled

Returns
Type Description
boolean

true if tracing is enabled, false if not

isQueryPreviewEnabled() (deprecated)

publicbooleanisQueryPreviewEnabled()
Returns
Type Description
boolean

setDefaultJobCreationMode(QueryJobConfiguration.JobCreationMode jobCreationMode)

publicvoidsetDefaultJobCreationMode(QueryJobConfiguration.JobCreationModejobCreationMode)
Parameter
Name Description
jobCreationMode QueryJobConfiguration.JobCreationMode

setQueryPreviewEnabled(String queryPreviewEnabled) (deprecated)

publicvoidsetQueryPreviewEnabled(StringqueryPreviewEnabled)
Parameter
Name Description
queryPreviewEnabled String

setThrowNotFound(boolean setThrowNotFound)

publicvoidsetThrowNotFound(booleansetThrowNotFound)
Parameter
Name Description
setThrowNotFound boolean

setUseInt64Timestamps(boolean useInt64Timestamps)

publicvoidsetUseInt64Timestamps(booleanuseInt64Timestamps)
Parameter
Name Description
useInt64Timestamps boolean

toBuilder()

publicBigQueryOptions.BuildertoBuilder()
Returns
Type Description
BigQueryOptions.Builder
Overrides
com.google.cloud.ServiceOptions.<B>toBuilder()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.