postgresqlwriter

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgreSQLWriterJob

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

PostgreSQLWriterJob PostgreSQL写入作业,薄包装层委托给通用RDBMS实现

func NewPostgreSQLWriterJob

func NewPostgreSQLWriterJob() *PostgreSQLWriterJob

func (*PostgreSQLWriterJob) Destroy

func (job *PostgreSQLWriterJob) Destroy() error

func (*PostgreSQLWriterJob) Init

func (job *PostgreSQLWriterJob) Init(config config.Configuration) error

func (*PostgreSQLWriterJob) Post

func (job *PostgreSQLWriterJob) Post() error

func (*PostgreSQLWriterJob) Prepare

func (job *PostgreSQLWriterJob) Prepare() error

func (*PostgreSQLWriterJob) Split

func (job *PostgreSQLWriterJob) Split(mandatoryNumber int) ([]config.Configuration, error)

type PostgreSQLWriterJobFactory

type PostgreSQLWriterJobFactory struct{}

PostgreSQLWriterJobFactory 实现WriterJobFactory接口

func (*PostgreSQLWriterJobFactory) CreateWriterJob

func (f *PostgreSQLWriterJobFactory) CreateWriterJob() plugin.WriterJob

type PostgreSQLWriterTask

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

PostgreSQLWriterTask PostgreSQL写入任务,薄包装层委托给通用RDBMS实现

func NewPostgreSQLWriterTask

func NewPostgreSQLWriterTask() *PostgreSQLWriterTask

func (*PostgreSQLWriterTask) Destroy

func (task *PostgreSQLWriterTask) Destroy() error

func (*PostgreSQLWriterTask) Init

func (task *PostgreSQLWriterTask) Init(config config.Configuration) error

func (*PostgreSQLWriterTask) Post

func (task *PostgreSQLWriterTask) Post() error

func (*PostgreSQLWriterTask) Prepare

func (task *PostgreSQLWriterTask) Prepare() error

func (*PostgreSQLWriterTask) StartWrite

func (task *PostgreSQLWriterTask) StartWrite(recordReceiver plugin.RecordReceiver) error

type PostgreSQLWriterTaskFactory

type PostgreSQLWriterTaskFactory struct{}

PostgreSQLWriterTaskFactory 实现WriterTaskFactory接口

func (*PostgreSQLWriterTaskFactory) CreateWriterTask

func (f *PostgreSQLWriterTaskFactory) CreateWriterTask() plugin.WriterTask

Jump to

Keyboard shortcuts

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