Documentation ¶
Overview ¶
Package ydb contains code specific for YDB database.
Index ¶
- func ErrorCheckerQuery(err error) bool
- func NewConnectionManager(cfg *config.TYdbConfig, base rdbms_utils.ConnectionManagerBase) rdbms_utils.ConnectionManager
- func NewSQLFormatter(mode config.TYdbConfig_Mode) rdbms_utils.SQLFormatter
- func NewSchemaProvider(typeMapper datasource.TypeMapper, preffixGetter PrefixGetter) rdbms_utils.SchemaProvider
- func NewTypeMapper() datasource.TypeMapper
- type PrefixGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorCheckerQuery ¶ added in v0.5.5
func NewConnectionManager ¶
func NewConnectionManager( cfg *config.TYdbConfig, base rdbms_utils.ConnectionManagerBase, ) rdbms_utils.ConnectionManager
func NewSQLFormatter ¶
func NewSQLFormatter(mode config.TYdbConfig_Mode) rdbms_utils.SQLFormatter
func NewSchemaProvider ¶
func NewSchemaProvider( typeMapper datasource.TypeMapper, preffixGetter PrefixGetter, ) rdbms_utils.SchemaProvider
func NewTypeMapper ¶
func NewTypeMapper() datasource.TypeMapper
Types ¶
type PrefixGetter ¶ added in v0.6.0
type PrefixGetter interface { GetPrefix( ctx context.Context, logger *zap.Logger, driver *ydb.Driver, request *api_service_protos.TDescribeTableRequest) (string, error) }
func NewPrefixGetter ¶ added in v0.6.0
func NewPrefixGetter() PrefixGetter
Click to show internal directories.
Click to hide internal directories.