transform

package
v0.0.0-...-3f86ab2 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 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 Field

type Field struct {
	Name string
	Type
}

type Transformer

type Transformer interface {
	// notify
	SourceFields() []Field

	SinkFields() []Field
	SetSinkFields([]Field)

	Castable() error
	Cast(src []codec.Bytes) ([]any, error)
	CastFields() []Field

	CastableType(src Field, dest Field) error
	CastBytes(index int, src codec.Bytes) (any, error)
	CastField(Field) Field
}

type Type

type Type string

Jump to

Keyboard shortcuts

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