Skip to main content

Jupiter.Market.Elastic.Comparables.Mappers.ComparableMapper

Maps raw and enriched property data into domain entities for indexing and downstream processing.

Methods

#ctor

Initializes a new instance of the class.

Parameters:

  • projectionHelper: The projection helper for geometry transformations.

MapComparable

Maps a and associated enrichment dictionaries into a fully populated entity.

See the detailed conceptual article: Comparable Mapping Logic.

The method attempts to enrich the base comparable using available data keyed by UPRNId or TitleId. Geometry, EPC ratings, images, use classes, floors, and built years are extracted and mapped to the output entity. Core fields are mapped directly, while derived fields (such as DealPricePerAcre and DealPricePerUnit) are calculated if possible. Deal type, ownership type, and transaction type are determined using MapComparable.

Parameters:

  • data: The base comparable data.
  • epcData: Dictionary of EPC ratings keyed by UPRN or TitleId.
  • geometryData: Dictionary of geometry data keyed by UPRN or TitleId.
  • imageData: Dictionary of image data keyed by UPRN or TitleId.
  • useClassData: Dictionary of use class data keyed by UPRN or TitleId.
  • floorsData: Dictionary of floor data keyed by UPRN or TitleId.
  • builtData: Dictionary of built year data keyed by UPRN or TitleId.

Returns: A fully mapped entity with all available enrichment fields populated.

NormalizePostgresArray

No summary available.

Parameters:

  • input: The input array, possibly in Postgres array string format.
Build StatusBuild #20251224.44 | Commit: 2544997 | Branch: HEAD | Built: 12/24/2025, 4:40:09 PM