Documentation
¶
Index ¶
- type Executor
- type RedshiftScrapper
- func (e *RedshiftScrapper) Close() error
- func (e *RedshiftScrapper) DialectType() string
- func (e *RedshiftScrapper) Executor() *dwhexecredshift.RedshiftExecutor
- func (e *RedshiftScrapper) IsPermissionError(err error) bool
- func (e *RedshiftScrapper) QueryCatalog(ctx context.Context) ([]*scrapper.CatalogColumnRow, error)
- func (e *RedshiftScrapper) QueryCustomMetrics(ctx context.Context, sql string, args ...any) ([]*scrapper.CustomMetricsRow, error)
- func (e *RedshiftScrapper) QueryDatabases(ctx context.Context) ([]*scrapper.DatabaseRow, error)
- func (e *RedshiftScrapper) QuerySegments(ctx context.Context, sql string, args ...any) ([]*scrapper.SegmentRow, error)
- func (e *RedshiftScrapper) QuerySqlDefinitions(ctx context.Context) ([]*scrapper.SqlDefinitionRow, error)
- func (e *RedshiftScrapper) QueryTableMetrics(ctx context.Context, lastMetricsFetchTime time.Time) ([]*scrapper.TableMetricsRow, error)
- func (e *RedshiftScrapper) QueryTables(ctx context.Context) ([]*scrapper.TableRow, error)
- func (e *RedshiftScrapper) SqlDialect() sqldialect.Dialect
- func (e *RedshiftScrapper) ValidateConfiguration(ctx context.Context) ([]string, error)
- type RedshiftScrapperConf
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedshiftScrapper ¶
type RedshiftScrapper struct {
// contains filtered or unexported fields
}
func NewRedshiftScrapper ¶
func NewRedshiftScrapper(ctx context.Context, conf *RedshiftScrapperConf) (*RedshiftScrapper, error)
func (*RedshiftScrapper) Close ¶
func (e *RedshiftScrapper) Close() error
func (*RedshiftScrapper) DialectType ¶ added in v0.1.8
func (e *RedshiftScrapper) DialectType() string
func (*RedshiftScrapper) Executor ¶
func (e *RedshiftScrapper) Executor() *dwhexecredshift.RedshiftExecutor
func (*RedshiftScrapper) IsPermissionError ¶ added in v0.1.1
func (e *RedshiftScrapper) IsPermissionError(err error) bool
func (*RedshiftScrapper) QueryCatalog ¶
func (e *RedshiftScrapper) QueryCatalog(ctx context.Context) ([]*scrapper.CatalogColumnRow, error)
func (*RedshiftScrapper) QueryCustomMetrics ¶
func (e *RedshiftScrapper) QueryCustomMetrics(ctx context.Context, sql string, args ...any) ([]*scrapper.CustomMetricsRow, error)
func (*RedshiftScrapper) QueryDatabases ¶
func (e *RedshiftScrapper) QueryDatabases(ctx context.Context) ([]*scrapper.DatabaseRow, error)
func (*RedshiftScrapper) QuerySegments ¶
func (e *RedshiftScrapper) QuerySegments(ctx context.Context, sql string, args ...any) ([]*scrapper.SegmentRow, error)
func (*RedshiftScrapper) QuerySqlDefinitions ¶
func (e *RedshiftScrapper) QuerySqlDefinitions(ctx context.Context) ([]*scrapper.SqlDefinitionRow, error)
func (*RedshiftScrapper) QueryTableMetrics ¶
func (e *RedshiftScrapper) QueryTableMetrics(ctx context.Context, lastMetricsFetchTime time.Time) ([]*scrapper.TableMetricsRow, error)
func (*RedshiftScrapper) QueryTables ¶
func (*RedshiftScrapper) SqlDialect ¶ added in v0.1.8
func (e *RedshiftScrapper) SqlDialect() sqldialect.Dialect
func (*RedshiftScrapper) ValidateConfiguration ¶
func (e *RedshiftScrapper) ValidateConfiguration(ctx context.Context) ([]string, error)
type RedshiftScrapperConf ¶
type RedshiftScrapperConf struct {
dwhexecredshift.RedshiftConf
FreshnessFromQueryLogs bool
}
Click to show internal directories.
Click to hide internal directories.