Runtime: parcel-runtime#

The runtime evaluates compiled contracts against Arrow data and caller context. Use the pages below for public fields, method signatures, parameters, return values, and errors.

API

Main types and functions

Caller context

Caller, refusal, param_values, active_shapes.

Data validation

validate, validate_in, Verdict, selectivity, RuntimeError.

Result shapes

apply, Shaped, Charge, suppression helpers.

Comparing rule evaluators

differential, DiffReport, Mismatch.

CEL evaluation

Scope, context, eval, value conversion.

Validation#

For validation signatures and returned fields, see Data validation. Loading and exporting compiled contracts are covered in Compiled artifacts and exports.

The default wasm feature enables WebAssembly functions. The optional substrait feature enables Substrait export.