package Ġcom . chr is al bright . ingest Ċ Ċ import Ġarrow . core . Option Ċ Ċ class ĠString To Product Record Transformer ( val Ġparse Catalog Record : ĠString To Input Record , Ġval ĠconvertTo Product Record : ĠInput Record To Product Record ) Ġ: ĠString To Product Record Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġinvoke ( record : ĠString ): ĠOption < Product Record > Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġparse Catalog Record ( record ). map Ġ{ ĠconvertTo Product Record ( it ) Ġ} Ċ }