Documentation
¶
Index ¶
- type MSSQLScrapper
- func (e *MSSQLScrapper) Close() error
- func (e *MSSQLScrapper) DialectType() string
- func (e *MSSQLScrapper) IsPermissionError(err error) bool
- func (e *MSSQLScrapper) QueryCatalog(ctx context.Context) ([]*scrapper.CatalogColumnRow, error)
- func (e *MSSQLScrapper) QueryCustomMetrics(ctx context.Context, sql string, args ...any) ([]*scrapper.CustomMetricsRow, error)
- func (e *MSSQLScrapper) QueryDatabases(ctx context.Context) ([]*scrapper.DatabaseRow, error)
- func (e *MSSQLScrapper) QuerySegments(ctx context.Context, sql string, args ...any) ([]*scrapper.SegmentRow, error)
- func (e *MSSQLScrapper) QueryShape(ctx context.Context, sql string) ([]*scrapper.QueryShapeColumn, error)
- func (e *MSSQLScrapper) QuerySqlDefinitions(ctx context.Context) ([]*scrapper.SqlDefinitionRow, error)
- func (e *MSSQLScrapper) QueryTableConstraints(ctx context.Context) ([]*scrapper.TableConstraintRow, error)
- func (e *MSSQLScrapper) QueryTableMetrics(ctx context.Context, lastMetricsFetchTime time.Time) ([]*scrapper.TableMetricsRow, error)
- func (e *MSSQLScrapper) QueryTables(ctx context.Context) ([]*scrapper.TableRow, error)
- func (e *MSSQLScrapper) SqlDialect() sqldialect.Dialect
- func (e *MSSQLScrapper) ValidateConfiguration(ctx context.Context) ([]string, error)
- type MSSQLScrapperConf
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MSSQLScrapper ¶
type MSSQLScrapper struct {
// contains filtered or unexported fields
}
func NewMSSQLScrapper ¶
func NewMSSQLScrapper(ctx context.Context, conf *MSSQLScrapperConf) (*MSSQLScrapper, error)
func (*MSSQLScrapper) Close ¶
func (e *MSSQLScrapper) Close() error
func (*MSSQLScrapper) DialectType ¶
func (e *MSSQLScrapper) DialectType() string
func (*MSSQLScrapper) IsPermissionError ¶
func (e *MSSQLScrapper) IsPermissionError(err error) bool
func (*MSSQLScrapper) QueryCatalog ¶
func (e *MSSQLScrapper) QueryCatalog(ctx context.Context) ([]*scrapper.CatalogColumnRow, error)
func (*MSSQLScrapper) QueryCustomMetrics ¶
func (e *MSSQLScrapper) QueryCustomMetrics(ctx context.Context, sql string, args ...any) ([]*scrapper.CustomMetricsRow, error)
func (*MSSQLScrapper) QueryDatabases ¶
func (e *MSSQLScrapper) QueryDatabases(ctx context.Context) ([]*scrapper.DatabaseRow, error)
func (*MSSQLScrapper) QuerySegments ¶
func (e *MSSQLScrapper) QuerySegments(ctx context.Context, sql string, args ...any) ([]*scrapper.SegmentRow, error)
func (*MSSQLScrapper) QueryShape ¶
func (e *MSSQLScrapper) QueryShape(ctx context.Context, sql string) ([]*scrapper.QueryShapeColumn, error)
func (*MSSQLScrapper) QuerySqlDefinitions ¶
func (e *MSSQLScrapper) QuerySqlDefinitions(ctx context.Context) ([]*scrapper.SqlDefinitionRow, error)
func (*MSSQLScrapper) QueryTableConstraints ¶
func (e *MSSQLScrapper) QueryTableConstraints(ctx context.Context) ([]*scrapper.TableConstraintRow, error)
func (*MSSQLScrapper) QueryTableMetrics ¶
func (e *MSSQLScrapper) QueryTableMetrics(ctx context.Context, lastMetricsFetchTime time.Time) ([]*scrapper.TableMetricsRow, error)
func (*MSSQLScrapper) QueryTables ¶
func (*MSSQLScrapper) SqlDialect ¶
func (e *MSSQLScrapper) SqlDialect() sqldialect.Dialect
func (*MSSQLScrapper) ValidateConfiguration ¶
func (e *MSSQLScrapper) ValidateConfiguration(ctx context.Context) ([]string, error)
type MSSQLScrapperConf ¶
type MSSQLScrapperConf = dwhexecmssql.MSSQLConf
Click to show internal directories.
Click to hide internal directories.