bigquery

package
v1.52.3 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: MIT Imports: 3 Imported by: 0

README

bigquery

GoDoc

Package bigquery contains testable interfaces to abstract the operations.

Install
import (
	"libs.altipla.consulting/bigquery"
)
Contributing

You can make pull requests or create issues in GitHub. Any code you send should be formatted using make gofmt.

Running tests

Run the tests:

make test
License

MIT License

Documentation

Overview

Package bigquery contains testable interfaces to abstract the operations.

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Fetcher

type Fetcher interface {
	Fetch(ctx context.Context, query string) (Iterator, error)
}

func NewFetcher

func NewFetcher(project string) (Fetcher, error)

type Iterator

type Iterator interface {
	Next(dst interface{}) error
	PageInfo() *iterator.PageInfo
}

type NullString

type NullString = bigquery.NullString

type StructSaver

type StructSaver = bigquery.StructSaver

type Uploader

type Uploader interface {
	Upload(ctx context.Context, dataset, table string, savers []*bigquery.StructSaver) error
}

func NewUploader

func NewUploader(project string) (Uploader, error)

Jump to

Keyboard shortcuts

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