A trait that defines a contract for mapping an input of type Input to a row of type Row as a computation that can either succeed or fail, represented by Try[Row].
InputMapper is designed to abstract the process of parsing or transforming an input into a structured row representation, where the input may come from any external or internal source and the row represents a meaningful structured output.
NOTE this does not handle sequenced input. If you potentially need to handle sequenced input, use InputPreprocessor instead.
Type parameters
Input
the type of input that will be processed or parsed (e.g., raw data).
Row
the type of the resulting row produced by the mapping (e.g., structured data).