destination

package
v4.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFromBytes

func NewFromBytes(b []byte) (*arrow.Schema, error)

func NewSchemasFromBytes

func NewSchemasFromBytes(b [][]byte) (schema.Schemas, error)

Types

type Server

type Server struct {
	pb.UnimplementedDestinationServer
	Plugin *plugin.Plugin
	Logger zerolog.Logger
	// contains filtered or unexported fields
}

func (*Server) Close

func (s *Server) Close(ctx context.Context, _ *pb.Close_Request) (*pb.Close_Response, error)

func (*Server) Configure

func (s *Server) Configure(ctx context.Context, req *pb.Configure_Request) (*pb.Configure_Response, error)

func (*Server) DeleteStale

func (s *Server) DeleteStale(ctx context.Context, req *pb.DeleteStale_Request) (*pb.DeleteStale_Response, error)

func (*Server) GetName

func (*Server) GetVersion

func (*Server) Migrate

func (s *Server) Migrate(ctx context.Context, req *pb.Migrate_Request) (*pb.Migrate_Response, error)

func (*Server) Write

func (s *Server) Write(msg pb.Destination_WriteServer) error

Note the order of operations in this method is important! Trying to insert into the `resources` channel before starting the reader goroutine will cause a deadlock.

Jump to

Keyboard shortcuts

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