Spark的枚举类型实例!scala的枚举。
Enumeration定义:
[deploy] SparkSubmitAction { = Value = Value }
Enumeration使用:
appArgs. { SparkSubmitAction.=> (appArgs) SparkSubmitAction.=> (appArgs) SparkSubmitAction.=> (appArgs) }
原文地址:http://36006798.blog.51cto.com/988282/1872758