Phase 9: Create Geometry Protocol (Stubs)
Priority: P2 (Medium)
Effort: Small
Methods: +18
New Files: 1
Depends on: PLAN-009 Phase 8 (#60)
Description
Create API builder protocol stubs for geometry operations. All implementations will raise NotImplementedError.
File to Create
src/mountainash_expressions/core/expression_protocols/api_builders/substrait/prtcl_api_bldr_scalar_geometry.py
Methods to Add (18 stubs)
All geometry operations from Substrait specification including:
- Point operations
- Line operations
- Polygon operations
- Distance/relationship functions
Implementation Notes
All 18 geometry methods will be protocol stubs. Corresponding backend implementations raise NotImplementedError("Geometry operations require specialized libraries").
Acceptance Criteria
Reference
- ADR-010: API Builder Protocol Alignment
- Substrait geometry extension
Phase 9: Create Geometry Protocol (Stubs)
Priority: P2 (Medium)
Effort: Small
Methods: +18
New Files: 1
Depends on: PLAN-009 Phase 8 (#60)
Description
Create API builder protocol stubs for geometry operations. All implementations will raise NotImplementedError.
File to Create
src/mountainash_expressions/core/expression_protocols/api_builders/substrait/prtcl_api_bldr_scalar_geometry.pyMethods to Add (18 stubs)
All geometry operations from Substrait specification including:
Implementation Notes
All 18 geometry methods will be protocol stubs. Corresponding backend implementations raise
NotImplementedError("Geometry operations require specialized libraries").Acceptance Criteria
substrait/__init__.pywith new importReference