mssql

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MSSQLSource

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

MSSQLSource implements the hermod.Source interface for MSSQL CDC.

func NewMSSQLSource

func NewMSSQLSource(connString string, tables []string, autoEnableCDC bool, useCDC bool) *MSSQLSource

func (*MSSQLSource) Ack

func (m *MSSQLSource) Ack(ctx context.Context, msg hermod.Message) error

func (*MSSQLSource) Close

func (m *MSSQLSource) Close() error

func (*MSSQLSource) DiscoverColumns

func (m *MSSQLSource) DiscoverColumns(ctx context.Context, table string) ([]hermod.ColumnInfo, error)

func (*MSSQLSource) DiscoverDatabases

func (m *MSSQLSource) DiscoverDatabases(ctx context.Context) ([]string, error)

func (*MSSQLSource) DiscoverTables

func (m *MSSQLSource) DiscoverTables(ctx context.Context) ([]string, error)

func (*MSSQLSource) GetState

func (m *MSSQLSource) GetState() map[string]string

func (*MSSQLSource) IsReady

func (m *MSSQLSource) IsReady(ctx context.Context) error

func (*MSSQLSource) Ping

func (m *MSSQLSource) Ping(ctx context.Context) error

func (*MSSQLSource) Read

func (m *MSSQLSource) Read(ctx context.Context) (hermod.Message, error)

func (*MSSQLSource) Sample

func (m *MSSQLSource) Sample(ctx context.Context, table string) (hermod.Message, error)

func (*MSSQLSource) SetLogger

func (m *MSSQLSource) SetLogger(logger hermod.Logger)

func (*MSSQLSource) SetState

func (m *MSSQLSource) SetState(state map[string]string)

func (*MSSQLSource) Snapshot

func (m *MSSQLSource) Snapshot(ctx context.Context, tables ...string) error

Jump to

Keyboard shortcuts

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