sink

package
v0.0.0-...-223fbb0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

func Write(
	ctx context.Context,
	scope beam.Scope,
	opt options.SinkOption,
	secretReader *gcp.SecretReader,
	col beam.PCollection,
) error

func WriteToBigQuery

func WriteToBigQuery(scope beam.Scope, opt options.BigQueryWriteOption, col beam.PCollection)

func WriteToDatabase

func WriteToDatabase(
	ctx context.Context,
	scope beam.Scope,
	opt options.DatabaseWriteOption,
	secretReader *gcp.SecretReader,
	col beam.PCollection,
) error

func WriteToElasticsearch

func WriteToElasticsearch(
	ctx context.Context,
	scope beam.Scope,
	opt options.ElasticsearchWriteOption,
	secretReader *gcp.SecretReader,
	col beam.PCollection,
) error

func WriteToFile

func WriteToFile(scope beam.Scope, opt options.FileWriteOption, col beam.PCollection) error

func WriteToFirestore

func WriteToFirestore(scope beam.Scope, opt options.FirestoreWriteOption, col beam.PCollection)

func WriteToMongoDB

func WriteToMongoDB(
	ctx context.Context,
	scope beam.Scope,
	opt options.MongoDBWriteOption,
	secretReader *gcp.SecretReader,
	col beam.PCollection,
) error

func WriteToRedis

func WriteToRedis(
	ctx context.Context,
	scope beam.Scope,
	opt options.RedisWriteOption,
	secretReader *gcp.SecretReader,
	col beam.PCollection,
) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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