Documentation ¶
Index ¶
- func New(_ context.Context, logger zerolog.Logger, specBytes []byte, ...) (plugin.Client, error)
- func NewConnectionTester(...) plugin.ConnectionTester
- type Client
- func (c *Client) Close(ctx context.Context) error
- func (*Client) DeleteStale(context.Context, message.WriteDeleteStales) error
- func (c *Client) MigrateTables(ctx context.Context, messages message.WriteMigrateTables) error
- func (c *Client) Read(ctx context.Context, table *schema.Table, res chan<- arrow.Record) error
- func (c *Client) Write(ctx context.Context, messages <-chan message.WriteMessage) error
- func (c *Client) WriteTableBatch(ctx context.Context, _ string, messages message.WriteInserts) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnectionTester ¶
Types ¶
type Client ¶
type Client struct { plugin.UnimplementedSource batchwriter.UnimplementedDeleteRecord // contains filtered or unexported fields }
func (*Client) DeleteStale ¶
func (*Client) MigrateTables ¶
MigrateTables relies on the CLI/client to lock before running migration.
func (*Client) WriteTableBatch ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.