transformation

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transformer

type Transformer interface {
	// ID returns a string that identifies the transformer instance (all pipeline elements have it)
	ID() string
	// Prepare must be called before Start. It can be used to verify that the transformation is possible
	// Also, the input argument contains the data channel that will be consumed.
	// The returned bundle contains the data set definition after running the transformation and
	// a channel that will contain the transformed data
	Prepare(input *idrf.Bundle) (*idrf.Bundle, error)
	// Start consumes the data channel given in Prepare, transforms each Point/Row and feeds it to a channel
	// that was returned from Prepare
	Start(chan error) error
}

Transformer takes a data channel of idrf.Rows and transforms them to different rows

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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