oracle

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OracleSource

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

OracleSource implements the hermod.Source interface for Oracle.

func NewOracleSource

func NewOracleSource(connString string, tables []string, idField string, pollInterval time.Duration, useCDC bool) *OracleSource

func (*OracleSource) Ack

func (o *OracleSource) Ack(ctx context.Context, msg hermod.Message) error

Ack moves the persisted cursor to the acknowledged row.

func (*OracleSource) Close

func (o *OracleSource) Close() error

func (*OracleSource) DiscoverColumns

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

func (*OracleSource) DiscoverDatabases

func (o *OracleSource) DiscoverDatabases(ctx context.Context) ([]string, error)

func (*OracleSource) DiscoverTables

func (o *OracleSource) DiscoverTables(ctx context.Context) ([]string, error)

func (*OracleSource) GetState

func (o *OracleSource) GetState() map[string]string

func (*OracleSource) Ping

func (o *OracleSource) Ping(ctx context.Context) error

func (*OracleSource) Read

func (o *OracleSource) Read(ctx context.Context) (hermod.Message, error)

func (*OracleSource) Sample

func (o *OracleSource) Sample(ctx context.Context, table string) (hermod.Message, error)

func (*OracleSource) SetLogger

func (o *OracleSource) SetLogger(logger hermod.Logger)

func (*OracleSource) SetState

func (o *OracleSource) SetState(state map[string]string)

func (*OracleSource) Snapshot

func (o *OracleSource) 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