beam: github.com/apache/beam/sdks/go/pkg/beam/x/debug Index | Files

package debug

import "github.com/apache/beam/sdks/go/pkg/beam/x/debug"

Package debug contains pipeline components that may help in debugging pipeline issues.

Index

Package Files

debug.shims.go doc.go head.go print.go

func Discard Uses

func Discard(s beam.Scope, col beam.PCollection)

Discard is a sink that discards all data.

func Head(s beam.Scope, col beam.PCollection, n int) beam.PCollection

Head returns the first "n" elements it sees, it doesn't enforce any logic as to what elements they will be.

func Print Uses

func Print(s beam.Scope, col beam.PCollection) beam.PCollection

Print prints out all data. Use with care.

func Printf Uses

func Printf(s beam.Scope, format string, col beam.PCollection) beam.PCollection

Printf prints out all data with custom formatting. The given format string is used as log.Printf(format, elm) for each element. Use with care.

Package debug imports 10 packages (graph) and is imported by 5 packages. Updated 2020-06-16. Refresh now. Tools for package owners.