Skip to main content

execute_serialized

Function execute_serialized 

Source
pub fn execute_serialized<E: PlanEngine>(
    engine: &mut E,
    bytes: &[u8],
) -> Result<QueryResult, EngineError<E::Error>>
Expand description

Deserialize, validate, and execute a serialized Plexus plan with the provided engine.

Validates plan structure (no cycles, valid references, valid root_op) before execution. Returns the first structural error encountered, if any.