Class BigQueryOptions

java.lang.Object
com.google.cloud.ServiceOptions<BigQuery,BigQueryOptions>
com.google.cloud.bigquery.BigQueryOptions
All Implemented Interfaces:
Serializable

public class BigQueryOptions extends com.google.cloud.ServiceOptions<BigQuery,BigQueryOptions>
See Also:
  • Method Details

    • getDefaultHttpTransportOptions

      public static com.google.cloud.http.HttpTransportOptions getDefaultHttpTransportOptions()
    • getScopes

      protected Set<String> getScopes()
      Specified by:
      getScopes in class com.google.cloud.ServiceOptions<BigQuery,BigQueryOptions>
    • getBigQueryRpcV2

      protected HttpBigQueryRpc getBigQueryRpcV2()
    • getLocation

      public String getLocation()
    • isQueryPreviewEnabled

      @Deprecated public boolean isQueryPreviewEnabled()
      Deprecated.
    • setThrowNotFound

      public void setThrowNotFound(boolean setThrowNotFound)
    • setUseInt64Timestamps

      public void setUseInt64Timestamps(boolean useInt64Timestamps)
    • setQueryPreviewEnabled

      @Deprecated public void setQueryPreviewEnabled(String queryPreviewEnabled)
      Deprecated.
    • setDefaultJobCreationMode

      public void setDefaultJobCreationMode(QueryJobConfiguration.JobCreationMode jobCreationMode)
    • getThrowNotFound

      public boolean getThrowNotFound()
    • getUseInt64Timestamps

      public boolean getUseInt64Timestamps()
    • getDefaultJobCreationMode

      public QueryJobConfiguration.JobCreationMode getDefaultJobCreationMode()
    • isOpenTelemetryTracingEnabled

      @BetaApi("Span names and attributes are subject to change without notice") public boolean isOpenTelemetryTracingEnabled()
      Returns whether this BigQuery instance has OpenTelemetry tracing enabled
      Returns:
      true if tracing is enabled, false if not
    • getOpenTelemetryTracer

      @BetaApi("Span names and attributes are subject to change without notice") public io.opentelemetry.api.trace.Tracer getOpenTelemetryTracer()
      Returns the OpenTelemetry tracer used by this BigQuery instance
      Returns:
      OpenTelemetry tracer object or null if not set
    • getResultRetryAlgorithm

      public com.google.api.gax.retrying.ResultRetryAlgorithm<?> getResultRetryAlgorithm()
    • toBuilder

      public BigQueryOptions.Builder toBuilder()
      Specified by:
      toBuilder in class com.google.cloud.ServiceOptions<BigQuery,BigQueryOptions>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getDefaultInstance

      public static BigQueryOptions getDefaultInstance()
    • newBuilder

      public static BigQueryOptions.Builder newBuilder()