pgvector

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sink

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

Sink implements the hermod.Sink interface for pgvector.

func NewSink

func NewSink(connString, table, vectorCol, idCol, metadataCol string, mappings []sqlutil.ColumnMapping, useExistingTable bool, deleteStrategy string, softDeleteColumn string, softDeleteValue string) *Sink

func (*Sink) Close

func (s *Sink) Close() error

func (*Sink) DiscoverColumns

func (s *Sink) DiscoverColumns(ctx context.Context, table string) ([]hermod.ColumnInfo, error)

func (*Sink) Ping

func (s *Sink) Ping(ctx context.Context) error

func (*Sink) Write

func (s *Sink) Write(ctx context.Context, msg hermod.Message) error

func (*Sink) WriteBatch

func (s *Sink) WriteBatch(ctx context.Context, msgs []hermod.Message) error

Jump to

Keyboard shortcuts

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