Documentation ¶
Index ¶
- func NewColumnCheckOperator(manager connectionFetcher) *ansisql.ColumnCheckOperator
- func NewMaterializer(fullRefresh bool) *pipeline.Materializer
- type AcceptedValuesCheck
- type BasicOperator
- type Client
- func (c *Client) GetIngestrURI() (string, error)
- func (c *Client) Ping(ctx context.Context) error
- func (c *Client) RunQueryWithoutResult(ctx context.Context, query *query.Query) error
- func (c *Client) Select(ctx context.Context, query *query.Query) ([][]interface{}, error)
- func (c *Client) SelectWithSchema(ctx context.Context, queryObj *query.Query) (*query.QueryResult, error)
- type Config
- type PatternCheck
- type PgClient
- type PgConfig
- type RedShiftConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewColumnCheckOperator ¶
func NewColumnCheckOperator(manager connectionFetcher) *ansisql.ColumnCheckOperator
func NewMaterializer ¶
func NewMaterializer(fullRefresh bool) *pipeline.Materializer
Types ¶
type AcceptedValuesCheck ¶
type AcceptedValuesCheck struct {
// contains filtered or unexported fields
}
func (*AcceptedValuesCheck) Check ¶
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(conn connectionFetcher, extractor queryExtractor, materializer materializer) *BasicOperator
func (BasicOperator) Run ¶
func (o BasicOperator) Run(ctx context.Context, ti scheduler.TaskInstance) error
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetIngestrURI ¶ added in v0.7.0
func (*Client) Ping ¶ added in v0.11.106
Test runs a simple query (SELECT 1) to validate the connection.
func (*Client) RunQueryWithoutResult ¶
func (*Client) SelectWithSchema ¶ added in v0.11.104
type Config ¶
type Config struct { Username string Password string Host string Port int Database string Schema string PoolMaxConns int SslMode string }
func (Config) GetIngestrURI ¶ added in v0.7.0
func (Config) ToDBConnectionURI ¶
ToDBConnectionURI returns a connection URI to be used with the pgx package.
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 RedShiftConfig ¶ added in v0.7.0
type RedShiftConfig struct { Username string Password string Host string Port int Database string Schema string PoolMaxConns int SslMode string }
func (RedShiftConfig) GetIngestrURI ¶ added in v0.7.0
func (c RedShiftConfig) GetIngestrURI() string
func (RedShiftConfig) ToDBConnectionURI ¶ added in v0.7.0
func (c RedShiftConfig) ToDBConnectionURI() string
ToDBConnectionURI returns a connection URI to be used with the pgx package.
Click to show internal directories.
Click to hide internal directories.