Spark源码的角度思考Scala中的模式匹配
摘要:
学习了从Spark源码的角度思考Scala中的模式匹配,如caseclass应用,伴生对象中用apply,所以没有newclass,直接进行模式匹配,例子如下CaseclassRegisterWorker(Id:string,Host:string,Port:int,Cores:int,Memory... 阅读全文
posted @ 2015-08-01 08:28 l_time 阅读(155) 评论(0) 推荐(0)
浙公网安备 33010602011771号