bigquery

package
v0.0.0-...-77d91d8 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatQuery

func FormatQuery(q string) (string, error)

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context, projectID string) (*Client, error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) DryRunQuery

func (c *Client) DryRunQuery(ctx context.Context, query string) (*Result, error)

func (*Client) RunQuery

func (c *Client) RunQuery(ctx context.Context, query string) (*Result, error)

type Result

type Result struct {
	Query               string
	Keys                []string
	Rows                []map[string]bigquery.Value
	TotalBytesProcessed int64
	DryRun              bool
	EndTime             time.Time
}

Jump to

Keyboard shortcuts

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