tag_and_denormalize

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package tag_and_denormalize contains definition of the custom processor tag_and_denormalize

Index

Constants

View Source
const ProcessorTagAndDenormalizeName string = "tag_and_denormalize"

Variables

This section is empty.

Functions

This section is empty.

Types

type TagAndDenormalizeProcessorDef

type TagAndDenormalizeProcessorDef struct {
	TagFieldName         string            `json:"tag_field_name"`
	RawTagCriteria       map[string]string `json:"tag_criteria"`
	RawTagCriteriaUrl    string            `json:"tag_criteria_url"`
	ParsedTagCriteria    map[string]ast.Expr
	UsedInCriteriaFields sc.FieldRefs
}

All processor settings, stored in Capillaries script, root values coming from node

func (*TagAndDenormalizeProcessorDef) Deserialize

func (procDef *TagAndDenormalizeProcessorDef) Deserialize(raw json.RawMessage, _ json.RawMessage, scriptType sc.ScriptType, caPath string, privateKeys map[string]string) error

func (*TagAndDenormalizeProcessorDef) GetFieldRefs

func (procDef *TagAndDenormalizeProcessorDef) GetFieldRefs() *sc.FieldRefs

func (*TagAndDenormalizeProcessorDef) GetUsedInTargetExpressionsFields

func (procDef *TagAndDenormalizeProcessorDef) GetUsedInTargetExpressionsFields() *sc.FieldRefs

func (*TagAndDenormalizeProcessorDef) Run

func (procDef *TagAndDenormalizeProcessorDef) Run(_ *l.CapiLogger, _ *ctx.MessageProcessingContext, rsIn *proc.Rowset, flushVarsArray func(varsArray []*eval.VarValuesMap, varsArrayCount int) error) error

Jump to

Keyboard shortcuts

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