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