gaussdbreader

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

Documentation

Index

Constants

View Source
const (
	DefaultFetchSize = 1000 // 匹配Java版本的DEFAULT_FETCH_SIZE
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GaussDBReaderJob

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

GaussDBReaderJob GaussDB读取作业

func NewGaussDBReaderJob

func NewGaussDBReaderJob() *GaussDBReaderJob

func (*GaussDBReaderJob) Destroy

func (job *GaussDBReaderJob) Destroy() error

func (*GaussDBReaderJob) Init

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

func (*GaussDBReaderJob) Post

func (job *GaussDBReaderJob) Post() error

func (*GaussDBReaderJob) Prepare

func (job *GaussDBReaderJob) Prepare() error

func (*GaussDBReaderJob) Split

func (job *GaussDBReaderJob) Split(adviceNumber int) ([]config.Configuration, error)

type GaussDBReaderJobFactory

type GaussDBReaderJobFactory struct{}

GaussDBReaderJobFactory 实现ReaderJobFactory接口

func (*GaussDBReaderJobFactory) CreateReaderJob

func (f *GaussDBReaderJobFactory) CreateReaderJob() plugin.ReaderJob

type GaussDBReaderTask

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

GaussDBReaderTask GaussDB读取任务

func NewGaussDBReaderTask

func NewGaussDBReaderTask() *GaussDBReaderTask

func (*GaussDBReaderTask) Destroy

func (task *GaussDBReaderTask) Destroy() error

func (*GaussDBReaderTask) Init

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

func (*GaussDBReaderTask) Post

func (task *GaussDBReaderTask) Post() error

func (*GaussDBReaderTask) Prepare

func (task *GaussDBReaderTask) Prepare() error

func (*GaussDBReaderTask) StartRead

func (task *GaussDBReaderTask) StartRead(recordSender plugin.RecordSender) error

type GaussDBReaderTaskFactory

type GaussDBReaderTaskFactory struct{}

GaussDBReaderTaskFactory 实现ReaderTaskFactory接口

func (*GaussDBReaderTaskFactory) CreateReaderTask

func (f *GaussDBReaderTaskFactory) CreateReaderTask() plugin.ReaderTask

Jump to

Keyboard shortcuts

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