rdbms

package
v0.5.5-rc.2 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package rdbms contains generalized abstractions suitable for use with any relational database.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDataSource

func NewDataSource(
	logger *zap.Logger,
	preset *Preset,
	converterCollection conversion.Collection,
) datasource.DataSource[any]

func NewDataSourceFactory

func NewDataSourceFactory(
	cfg *config.TDatasourcesConfig,
	qlf common.QueryLoggerFactory,
	converterCollection conversion.Collection,
) datasource.Factory[any]

Types

type Preset

type Preset struct {
	SQLFormatter      rdbms_utils.SQLFormatter
	ConnectionManager rdbms_utils.ConnectionManager
	TypeMapper        datasource.TypeMapper
	SchemaProvider    rdbms_utils.SchemaProvider
	RetrierSet        *retry.RetrierSet
}

Directories

Path Synopsis
Package clickhouse contains code specific for ClickHouse database.
Package clickhouse contains code specific for ClickHouse database.
Package ms_sql_server contains code specific for Microsoft SQL Server database.
Package ms_sql_server contains code specific for Microsoft SQL Server database.
Package oracle contains code specific for Oracle database.
Package oracle contains code specific for Oracle database.
Package postgresql contains code specific for PostgreSQL database.
Package postgresql contains code specific for PostgreSQL database.
Package utils contains helper types and functions that can be used by any relational data source.
Package utils contains helper types and functions that can be used by any relational data source.
Package ydb contains code specific for YDB database.
Package ydb contains code specific for YDB database.

Jump to

Keyboard shortcuts

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