bigquery

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2026 License: MIT Imports: 8 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigAdd

func ConfigAdd(path string)

ConfigAdd registers BigQuery-specific and shared GCP configs under the given root.

func NewClient

func NewClient(ctx context.Context, plugins ...clientgrpc.Plugin) (*bigquery.Client, error)

NewClient creates a wrapped BigQuery client using default configuration.

func NewClientWithConfigPath

func NewClientWithConfigPath(ctx context.Context, path string, plugins ...clientgrpc.Plugin) (*bigquery.Client, error)

NewClientWithConfigPath creates a wrapped BigQuery client using configuration from the specified path.

func NewClientWithOptions

func NewClientWithOptions(ctx context.Context, o *Options, plugins ...clientgrpc.Plugin) (*bigquery.Client, error)

NewClientWithOptions constructs a wrapped BigQuery client from Options.

Types

type Client

type Client struct {
	Inner *bigquery.Client
	Opts  *Options
}

Client wraps a BigQuery client and its Options.

type Options

type Options struct {
	APIOptions  apiv1.Options  `config:"apiOptions"`
	GRPCOptions grpcv1.Options `config:"grpcOptions"`

	UserProject string `config:"userProject"`
}

Options holds shared API/gRPC options and BigQuery-specific project override.

func NewOptions

func NewOptions() (*Options, error)

NewOptions loads Options from the default root.

func NewOptionsWithPath

func NewOptionsWithPath(path string) (*Options, error)

NewOptionsWithPath loads Options from the specified path.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL