ytdict

package
v0.0.0-rc12 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Type = abstract.TransformerType("yt_dict_transformer")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Tables filter.Tables `json:"tables"`
}

type YtDictTransformer

type YtDictTransformer struct {
	Tables filter.Filter
	Logger log.Logger
}

func NewYtDictTransformer

func NewYtDictTransformer(cfg Config, lgr log.Logger) (*YtDictTransformer, error)

func (*YtDictTransformer) Apply

func (*YtDictTransformer) Description

func (t *YtDictTransformer) Description() string

func (*YtDictTransformer) ResultSchema

func (t *YtDictTransformer) ResultSchema(original *abstract.TableSchema) (*abstract.TableSchema, error)

func (*YtDictTransformer) Suitable

func (t *YtDictTransformer) Suitable(table abstract.TableID, schema *abstract.TableSchema) bool

func (*YtDictTransformer) Type

Jump to

Keyboard shortcuts

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