redshift

package
v0.1.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2025 License: Apache-2.0 Imports: 12 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor interface {
	// contains filtered or unexported methods
}

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 (*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 (e *RedshiftScrapper) QueryTables(ctx context.Context) ([]*scrapper.TableRow, error)

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL