MCPcopy
hub / github.com/PeerDB-io/peerdb / BigQueryConnector

Struct BigQueryConnector

flow/connectors/bigquery/bigquery.go:55–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55type BigQueryConnector struct {
56 *metadataStore.PostgresMetadata
57 logger log.Logger
58 bqConfig *protos.BigqueryConfig
59 credentials *auth.Credentials
60 client *bigquery.Client
61 storageClient *storage.Client
62 catalogPool shared.CatalogPool
63 datasetID string
64 projectID string
65}
66
67func NewBigQueryConnector(ctx context.Context, config *protos.BigqueryConfig) (*BigQueryConnector, error) {
68 logger := internal.LoggerFromCtx(ctx)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected