duckdb

package
v0.1.13 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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DuckDBScapperConf

type DuckDBScapperConf = dwhexecduckdb.DuckDBConf

type DuckDBScrapper

type DuckDBScrapper struct {
	// contains filtered or unexported fields
}

func NewDuckDBScrapper

func NewDuckDBScrapper(ctx context.Context, conf *DuckDBScapperConf) (*DuckDBScrapper, error)

func (*DuckDBScrapper) Close

func (e *DuckDBScrapper) Close() error

func (*DuckDBScrapper) DialectType added in v0.1.8

func (e *DuckDBScrapper) DialectType() string

func (*DuckDBScrapper) IsPermissionError added in v0.1.1

func (e *DuckDBScrapper) IsPermissionError(err error) bool

func (*DuckDBScrapper) QueryCatalog

func (e *DuckDBScrapper) QueryCatalog(ctx context.Context) ([]*scrapper.CatalogColumnRow, error)

func (*DuckDBScrapper) QueryCustomMetrics

func (e *DuckDBScrapper) QueryCustomMetrics(ctx context.Context, sql string, args ...any) ([]*scrapper.CustomMetricsRow, error)

func (*DuckDBScrapper) QueryDatabases

func (e *DuckDBScrapper) QueryDatabases(ctx context.Context) ([]*scrapper.DatabaseRow, error)

func (*DuckDBScrapper) QuerySegments

func (e *DuckDBScrapper) QuerySegments(ctx context.Context, sql string, args ...any) ([]*scrapper.SegmentRow, error)

func (*DuckDBScrapper) QuerySqlDefinitions

func (e *DuckDBScrapper) QuerySqlDefinitions(ctx context.Context) ([]*scrapper.SqlDefinitionRow, error)

func (*DuckDBScrapper) QueryTableMetrics

func (e *DuckDBScrapper) QueryTableMetrics(ctx context.Context, lastMetricsFetchTime time.Time) ([]*scrapper.TableMetricsRow, error)

func (*DuckDBScrapper) QueryTables

func (e *DuckDBScrapper) QueryTables(ctx context.Context) ([]*scrapper.TableRow, error)

func (*DuckDBScrapper) SqlDialect added in v0.1.9

func (e *DuckDBScrapper) SqlDialect() sqldialect.Dialect

func (*DuckDBScrapper) ValidateConfiguration

func (e *DuckDBScrapper) ValidateConfiguration(ctx context.Context) ([]string, error)

Jump to

Keyboard shortcuts

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