Skip to main content

Module transforms

Module transforms 

Source
Expand description

Compile YAML/JSON transform declarations into TransformStage values.

The built-in transforms are exposed via config — custom closure transforms require Rust code and are reserved for the library API.

Functions§

available_transforms
Names of every transform compiled into this build.
compile_transforms
Compile a list of TransformSpecs into TransformStages in the declared order. Most built-ins compile to a TransformStage::Map; richer stages (e.g. filter, future fan-outs) compile to other variants. Unknown or malformed entries surface as a CliError.
quality_descriptionsquality
One-line descriptions of the available quality checks, for faucet list. The json_schema entry only appears when the quality-jsonschema feature is enabled, mirroring faucet schema quality so list and schema agree.
transform_descriptions
One-line summary of every transform compiled into this build. Used by faucet list.
transform_schema
Return the JSON Schema for the named transform’s config. Mirrors registry::source_schema / sink_schema so faucet schema transform <name> reads symmetrically with the connector variants.