Help us shape the future of Go! Take the 2026 Go Developer Survey

client

package
v8.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MPL-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(_ context.Context, logger zerolog.Logger, specBytes []byte, opts plugin.NewClientOptions) (plugin.Client, error)

Types

type Client

type Client struct {
	plugin.UnimplementedSource
	// contains filtered or unexported fields
}

func (*Client) AssessTables added in v8.3.0

func (c *Client) AssessTables(_ context.Context, tables []plugin.TablePair, _ plugin.AssessOptions) ([]plugin.TableFinding, error)

func (*Client) Close

func (c *Client) Close(ctx context.Context) error

func (*Client) DeleteRecord

func (c *Client) DeleteRecord(ctx context.Context, messages message.WriteDeleteRecords) error

func (*Client) DeleteStale

func (c *Client) DeleteStale(ctx context.Context, messages message.WriteDeleteStales) error

func (*Client) MigrateTables

func (c *Client) MigrateTables(ctx context.Context, messages message.WriteMigrateTables) error

MigrateTables relies on the CLI/client to lock before running migration.

func (*Client) Read

func (c *Client) Read(ctx context.Context, table *schema.Table, res chan<- arrow.RecordBatch) error

func (*Client) Write

func (c *Client) Write(ctx context.Context, messages <-chan message.WriteMessage) error

func (*Client) WriteTableBatch

func (c *Client) WriteTableBatch(ctx context.Context, _ string, messages message.WriteInserts) error

Directories

Path Synopsis
gen command

Jump to

Keyboard shortcuts

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