Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptedValuesCheck ¶ added in v0.2.0
type AcceptedValuesCheck struct {
// contains filtered or unexported fields
}
func (*AcceptedValuesCheck) Check ¶ added in v0.2.0
func (c *AcceptedValuesCheck) Check(ctx context.Context, ti *scheduler.ColumnCheckInstance) error
type BasicOperator ¶ added in v0.2.0
type BasicOperator struct {
// contains filtered or unexported fields
}
func NewBasicOperator ¶ added in v0.2.0
func NewBasicOperator(conn connectionFetcher, extractor queryExtractor, materializer materializer) *BasicOperator
func (BasicOperator) Run ¶ added in v0.2.0
func (o BasicOperator) Run(ctx context.Context, ti scheduler.TaskInstance) error
type ColumnCheckOperator ¶ added in v0.2.0
type ColumnCheckOperator struct {
// contains filtered or unexported fields
}
func NewColumnCheckOperator ¶ added in v0.2.0
func NewColumnCheckOperator(manager connectionFetcher) (*ColumnCheckOperator, error)
func (ColumnCheckOperator) Run ¶ added in v0.2.0
func (o ColumnCheckOperator) Run(ctx context.Context, ti scheduler.TaskInstance) error
type Config ¶
type Config struct {
Account string `envconfig:"SNOWFLAKE_ACCOUNT"`
Username string `envconfig:"SNOWFLAKE_USERNAME"`
Password string `envconfig:"SNOWFLAKE_PASSWORD"`
Region string `envconfig:"SNOWFLAKE_REGION"`
Role string `envconfig:"SNOWFLAKE_ROLE"`
Database string `envconfig:"SNOWFLAKE_DATABASE"`
Schema string `envconfig:"SNOWFLAKE_SCHEMA"`
}
func LoadConfigFromEnv ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) RunQueryWithoutResult ¶ added in v0.2.0
type Materializer ¶ added in v0.2.0
type Materializer struct{}
type NotNullCheck ¶ added in v0.2.0
type NotNullCheck struct {
// contains filtered or unexported fields
}
func (*NotNullCheck) Check ¶ added in v0.2.0
func (c *NotNullCheck) Check(ctx context.Context, ti *scheduler.ColumnCheckInstance) error
type PositiveCheck ¶ added in v0.2.0
type PositiveCheck struct {
// contains filtered or unexported fields
}
func (*PositiveCheck) Check ¶ added in v0.2.0
func (c *PositiveCheck) Check(ctx context.Context, ti *scheduler.ColumnCheckInstance) error
type UniqueCheck ¶ added in v0.2.0
type UniqueCheck struct {
// contains filtered or unexported fields
}
func (*UniqueCheck) Check ¶ added in v0.2.0
func (c *UniqueCheck) Check(ctx context.Context, ti *scheduler.ColumnCheckInstance) error
Click to show internal directories.
Click to hide internal directories.