bigquery

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GCPProjectID   = "project"
	GCPCredentials = "credentials"
)

String constants for bigquery destination config

Variables

This section is empty.

Functions

This section is empty.

Types

type BQCredentialsT

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

type HandleT

type HandleT struct {
	BQContext     context.Context
	DbHandle      *sql.DB
	Db            *bigquery.Client
	Namespace     string
	CurrentSchema map[string]map[string]string
	Warehouse     warehouseutils.WarehouseT
	ProjectID     string
	Upload        warehouseutils.UploadT
}

func (*HandleT) CrashRecover

func (bq *HandleT) CrashRecover(config warehouseutils.ConfigT) (err error)

func (*HandleT) Export

func (bq *HandleT) Export() (err error)

func (*HandleT) MigrateSchema

func (bq *HandleT) MigrateSchema() (err error)

func (*HandleT) Process

func (bq *HandleT) Process(config warehouseutils.ConfigT) (err error)

Jump to

Keyboard shortcuts

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