mssql

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

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

Jump to

Keyboard shortcuts

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