datasource

package
v1.36.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2020 License: MIT Imports: 26 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Analyze

func Analyze(dsn config.DSN) (*schema.Schema, error)

Analyze database

func AnalyzeBigquery added in v1.28.0

func AnalyzeBigquery(urlstr string) (*schema.Schema, error)

AnalyzeBigquery analyze `bq://`

func AnalyzeDynamodb added in v1.28.0

func AnalyzeDynamodb(urlstr string) (*schema.Schema, error)

AnalizeDynamodb analyze `dynamodb://`

func AnalyzeHTTPResource added in v1.29.3

func AnalyzeHTTPResource(dsn config.DSN) (*schema.Schema, error)

AnalyzeHTTPResource analyze `https://` or `http://`

func AnalyzeJSON added in v1.28.0

func AnalyzeJSON(urlstr string) (*schema.Schema, error)

AnalyzeJSON analyze `json://`

func AnalyzeJSONString added in v1.34.1

func AnalyzeJSONString(str string) (*schema.Schema, error)

AnalyzeJSONString analyze JSON string

func AnalyzeSpanner added in v1.28.0

func AnalyzeSpanner(urlstr string) (*schema.Schema, error)

AnalyzeSpanner analyze `spanner://`

func NewBigqueryClient added in v1.35.0

func NewBigqueryClient(ctx context.Context, urlstr string) (*bigquery.Client, string, string, error)

NewBigqueryClient returns new bigquery.Client

Types

This section is empty.

Jump to

Keyboard shortcuts

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