bolty-0.1.0.2: Haskell driver for Neo4j (BOLT protocol 4.4-5.4)
Safe HaskellNone
LanguageGHC2021

Database.Bolty.Plan

Description

Typed plan and profile trees from EXPLAIN/PROFILE queries.

Synopsis

Documentation

data PlanNode Source #

A node in the query execution plan tree (from EXPLAIN).

Constructors

PlanNode 

Instances

Instances details
Show PlanNode Source # 
Instance details

Defined in Database.Bolty.Plan

Eq PlanNode Source # 
Instance details

Defined in Database.Bolty.Plan

data ProfileNode Source #

A node in the query profile tree (from PROFILE). Extends PlanNode with actual execution statistics.

Instances

Instances details
Show ProfileNode Source # 
Instance details

Defined in Database.Bolty.Plan

Eq ProfileNode Source # 
Instance details

Defined in Database.Bolty.Plan

parsePlan :: Maybe Ps -> Maybe PlanNode Source #

Parse the raw plan field from PULL SUCCESS metadata into a typed PlanNode tree.

parseProfile :: Maybe Ps -> Maybe ProfileNode Source #

Parse the raw profile field from PULL SUCCESS metadata into a typed ProfileNode tree.