Part of #4890. Epic #4882.
Covers conformance scenario TYPE-003 (bolt/conformance/spec.yaml), currently current_status: expected-fail.
Motivation
structure/BoltPath.java exists but has zero call sites constructing it anywhere in BoltStructureMapper - query results never actually produce native Bolt Path structures today. Drivers that expect a Path object from a path-returning query do not receive one.
Proposed design
- Detect path-typed results in
BoltStructureMapper and construct BoltPath with the correct Bolt tag and the nodes/rels/indices field layout (unbound relationships + index sequence per the Bolt spec).
- Reuse the existing Node/Relationship/UnboundRelationship mappers for path element encoding.
- Ensure variable-length and fixed-length path results both serialize.
Acceptance criteria
Dependencies
None. Writer-side only.
Effort estimate
S
Part of #4890. Epic #4882.
Covers conformance scenario TYPE-003 (
bolt/conformance/spec.yaml), currentlycurrent_status: expected-fail.Motivation
structure/BoltPath.javaexists but has zero call sites constructing it anywhere inBoltStructureMapper- query results never actually produce native BoltPathstructures today. Drivers that expect aPathobject from a path-returning query do not receive one.Proposed design
BoltStructureMapperand constructBoltPathwith the correct Bolt tag and thenodes/rels/indicesfield layout (unbound relationships + index sequence per the Bolt spec).Acceptance criteria
expected-fail->passinginspec.yaml, remove the failure markers).Pathwith correct nodes, relationships and ordering.Dependencies
None. Writer-side only.
Effort estimate
S