ExpressionEvaluator can evaluate a Spark SQL expression against a case class
Spark row to case class Decoder.
Spark row to case class Decoder. This can be used for example in UDF's with struct parameters, which are mapped as Row in Spark 2.x (Spark 3.x supports case classes as parameters directly) If you have to decode multiple rows (like in a UDF) it's important to instantiate the RowDecoder only once (outside the UDF) and reuse it for all rows.
the case class to be produced
ExpressionEvaluator can evaluate a Spark SQL expression against a case class
class of object the expression should be evaluated on
class of expressions expected return type