Spark的枚举类型实例!scala的枚举。
Enumeration定义:
[deploy] SparkSubmitAction { = Value = Value }
Enumeration使用:
appArgs. { SparkSubmitAction.=> (appArgs) SparkSubmitAction.=> (appArgs) SparkSubmitAction.=> (appArgs) }
转载于:https://blog.51cto.com/36006798/1872758