Documentation ¶
Index ¶
- type BigQueryDatabase
- type BigQueryStore
- func (s *BigQueryStore) Backup(ctx context.Context) error
- func (s *BigQueryStore) Load(ctx context.Context, data []schema.RawData) error
- func (s *BigQueryStore) LoadTransformed(ctx context.Context, data []schema.TransformedData) error
- func (s *BigQueryStore) Migrate(ctx context.Context) error
- func (s *BigQueryStore) Setup(ctx context.Context) error
- func (s *BigQueryStore) Transform(ctx context.Context, query string) ([]schema.TransformedData, error)
- type BigQueryStoreConfig
- type NullStore
- func (s *NullStore) Backup(ctx context.Context) error
- func (s *NullStore) Load(ctx context.Context, data schema.RawData) error
- func (s *NullStore) LoadTransformed(ctx context.Context, data schema.TransformedData) error
- func (s *NullStore) Migrate(ctx context.Context) error
- func (s *NullStore) Transform(ctx context.Context) ([]schema.TransformedData, error)
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BigQueryDatabase ¶
type BigQueryStore ¶
type BigQueryStore struct {
// contains filtered or unexported fields
}
func NewBigQueryStore ¶
func NewBigQueryStore(ctx context.Context, cfg BigQueryStoreConfig) (*BigQueryStore, error)
func (*BigQueryStore) LoadTransformed ¶
func (s *BigQueryStore) LoadTransformed(ctx context.Context, data []schema.TransformedData) error
func (*BigQueryStore) Transform ¶
func (s *BigQueryStore) Transform(ctx context.Context, query string) ([]schema.TransformedData, error)
type BigQueryStoreConfig ¶
type BigQueryStoreConfig struct { Client *bigquery.Client CredentialsPath string ProjectID string Raw BigQueryDatabase Transformed BigQueryDatabase }
Click to show internal directories.
Click to hide internal directories.