Skip to main content

Module parser

Module parser 

Source

Structs§

ParseOptions
Parser-level configuration.

Functions§

build_domain_explain
Convert a raw explain document into the strongly typed domain model.
build_domain_explain_with
Convert a raw explain into the domain model, respecting an explicit version hint when the JSON metadata does not name a PostgreSQL version.
parse_explain_document
Run the full parser pipeline from raw JSON through validated domain explain.
parse_explain_document_with
Like parse_explain_document but accepting a ParseOptions value.
parse_raw_explains
Parse the top-level PostgreSQL EXPLAIN JSON array into raw serde models.
validate_plan_tree
Validate the domain plan as an explicit tree with structural invariants.