duckdb

package
v0.0.0-...-6af3dd1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DuckDBChange

type DuckDBChange struct {
	Timestamp time.Time              `json:"timestamp"`
	Table     string                 `json:"table"`
	Operation string                 `json:"operation"`
	Data      map[string]interface{} `json:"data"`
}

DuckDBChange represents a single database change from DuckDB

type DuckDBReader

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

DuckDBReader handles CDC operations for DuckDB

func NewDuckDBReader

func NewDuckDBReader(sourcePath, metadataPath, outputDir string) (*DuckDBReader, error)

NewDuckDBReader creates a new DuckDB CDC reader

func (*DuckDBReader) Close

func (d *DuckDBReader) Close() error

func (*DuckDBReader) StartMonitoring

func (d *DuckDBReader) StartMonitoring(ctx context.Context, tables []string) error

Jump to

Keyboard shortcuts

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