Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptedValuesCheck ¶ added in v0.9.0
type AcceptedValuesCheck struct {
// contains filtered or unexported fields
}
func (*AcceptedValuesCheck) Check ¶ added in v0.9.0
func (c *AcceptedValuesCheck) Check(ctx context.Context, ti *scheduler.ColumnCheckInstance) error
type BasicOperator ¶
type BasicOperator struct {
// contains filtered or unexported fields
}
func NewBasicOperator ¶
func NewBasicOperator(client *DB, extractor queryExtractor, materializer materializer) *BasicOperator
func NewBasicOperatorFromGlobals ¶
func NewBasicOperatorFromGlobals(extractor queryExtractor, materializer materializer) (*BasicOperator, error)
func (BasicOperator) Run ¶ added in v0.9.0
func (o BasicOperator) Run(ctx context.Context, ti scheduler.TaskInstance) error
type ColumnCheckOperator ¶ added in v0.9.0
type ColumnCheckOperator struct {
// contains filtered or unexported fields
}
func NewColumnCheckOperatorFromGlobals ¶ added in v0.9.0
func NewColumnCheckOperatorFromGlobals() (*ColumnCheckOperator, error)
func (ColumnCheckOperator) Run ¶ added in v0.9.0
func (o ColumnCheckOperator) Run(ctx context.Context, ti scheduler.TaskInstance) error
type Config ¶
type Config struct { ProjectID string `envconfig:"BIGQUERY_PROJECT"` CredentialsFilePath string `envconfig:"BIGQUERY_CREDENTIALS_FILE"` Location string `envconfig:"BIGQUERY_LOCATION"` }
func LoadConfigFromEnv ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (DB) RunQueryWithoutResult ¶
type Materializer ¶
type Materializer struct{}
type NotNullCheck ¶ added in v0.9.0
type NotNullCheck struct {
// contains filtered or unexported fields
}
func (*NotNullCheck) Check ¶ added in v0.9.0
func (c *NotNullCheck) Check(ctx context.Context, ti *scheduler.ColumnCheckInstance) error
type PositiveCheck ¶ added in v0.9.0
type PositiveCheck struct {
// contains filtered or unexported fields
}
func (*PositiveCheck) Check ¶ added in v0.9.0
func (c *PositiveCheck) Check(ctx context.Context, ti *scheduler.ColumnCheckInstance) error
type UniqueCheck ¶ added in v0.9.0
type UniqueCheck struct {
// contains filtered or unexported fields
}
func (*UniqueCheck) Check ¶ added in v0.9.0
func (c *UniqueCheck) Check(ctx context.Context, ti *scheduler.ColumnCheckInstance) error
Click to show internal directories.
Click to hide internal directories.