Documentation ¶
Index ¶
- func NewColumnCheckOperator(manager connectionFetcher) *ansisql.ColumnCheckOperator
- func NewMaterializer(fullRefresh bool) *pipeline.Materializer
- type AcceptedValuesCheck
- type BasicOperator
- type Config
- type DB
- func (db *DB) GetIngestrURI() (string, error)
- func (db *DB) IsValid(ctx context.Context, query *query.Query) (bool, error)
- func (db *DB) RunQueryWithoutResult(ctx context.Context, query *query.Query) error
- func (db *DB) Select(ctx context.Context, query *query.Query) ([][]interface{}, error)
- func (db *DB) SelectWithSchema(ctx context.Context, queryObj *query.Query) (*query.QueryResult, error)
- func (db *DB) Test(ctx context.Context) error
- type PatternCheck
- type QuerySensor
- type SfClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewColumnCheckOperator ¶ added in v0.2.0
func NewColumnCheckOperator(manager connectionFetcher) *ansisql.ColumnCheckOperator
func NewMaterializer ¶ added in v0.4.8
func NewMaterializer(fullRefresh bool) *pipeline.Materializer
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 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"` Warehouse string `envconfig:"SNOWFLAKE_WAREHOUSE"` }
func (Config) GetIngestrURI ¶ added in v0.7.0
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) GetIngestrURI ¶ added in v0.7.0
func (*DB) RunQueryWithoutResult ¶ added in v0.2.0
func (*DB) SelectWithSchema ¶ added in v0.11.85
type PatternCheck ¶ added in v0.10.1
type PatternCheck struct {
// contains filtered or unexported fields
}
func (*PatternCheck) Check ¶ added in v0.10.1
func (c *PatternCheck) Check(ctx context.Context, ti *scheduler.ColumnCheckInstance) error
type QuerySensor ¶ added in v0.4.7
type QuerySensor struct {
// contains filtered or unexported fields
}
func NewQuerySensor ¶ added in v0.4.7
func NewQuerySensor(conn connectionFetcher, renderer renderer, secondsToSleep int64) *QuerySensor
func (*QuerySensor) Run ¶ added in v0.4.7
func (o *QuerySensor) Run(ctx context.Context, ti scheduler.TaskInstance) error
Click to show internal directories.
Click to hide internal directories.