Skip to main content

Module pipeline_compiler

Module pipeline_compiler 

Source
Expand description

Cranelift code generation for compiled pipelines.

PipelineCompiler takes a Pipeline (a chain of Filter, Project, and KeyExtract stages) and generates a single native function that processes one input row and writes the result to an output row.

The generated function has signature:

fn(input_row: *const u8, output_row: *mut u8) -> u8

Returns 0 (Drop), 1 (Emit), or 2 (Error).

Structsยง

PipelineCompiler
Compiles Pipelines into native functions via Cranelift.