How to encode algebraic data type in Scala/Spark?

后端 未结 0 877
[愿得一人]
[愿得一人] 2021-01-15 10:13

I have an algebraic data type that I want to use as a parameter for a case class which looks like this:

sealed abstract class DayOfWeek(val id: String)

objec         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题