bqscrape

package
v0.0.0-...-2071987 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2016 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const TypeTable = "TABLE"

https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#resource

Variables

This section is empty.

Functions

func GetAllTables

func GetAllTables(bq *bigquery.Service, projectId string, progress ProgressReporter) (
	[]*bigquery.Table, error)

Fetches all metadata from all bigquery tables from projectId. TODO: Parallelize

func ListAllTables

func ListAllTables(bq *bigquery.Service, projectId string) ([]*bigquery.TableListTables, error)

Fetches all bigquery tables from projectId.

Types

type NilProgressReporter

type NilProgressReporter struct{}

func (*NilProgressReporter) Progress

func (n *NilProgressReporter) Progress(percent int, message string)

type ProgressReporter

type ProgressReporter interface {
	Progress(percent int, message string)
}

Jump to

Keyboard shortcuts

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