使用工厂方法
分别从class(类)、object(对象)、abstract class(抽象类)以及trait(特质)四个方面来了解并学习Scala面向对象编程的技能
Spark2.x 应用实战系列课程计划
------------------------------------Spark 2.x 入门指南-----------------------------------
Spark2.x 实战应用系列环境篇:Spark相关集群环境的搭建 (公开课,https://edu.51cto.com/course/11430.html )
Spark2.x 实战应用系列环境篇:Spark开发环境的搭建 (公开课,https://edu.51cto.com/course/11421.html )
Spark2.x 实战应用系列一 :怎样学习Spark (公开课,https://edu.51cto.com/course/11210.html )
-------------------------------------Spark-core实战应用(专题: https://edu.51cto.com/topic/1275.html )------------------------------
Spark2.x 实战应用系列二 :正确理解Spark (https://edu.51cto.com/course/10932.html )
Spark2.x 实战应用系列三 :Spark-core RDD API (https://edu.51cto.com/course/11058.html )
Spark2.x 实战应用系列四 :Spark-core 正确提交Spark应用 (https://edu.51cto.com/course/11132.html )
Spark2.x 实战应用系列五 :Spark-core Schedulers On Driver (https://edu.51cto.com/course/11206.html )
--------------------------------------Spark-SQL实战应用(专题:https://edu.51cto.com/topic/1319.html )------------------------------
Spark2.x 实战应用系列六 :Spark-SQL的前生今世以及未来 (https://edu.51cto.com/course/11277.html )
Spark2.x 实战应用系列七 :有SQL基础就可玩转Spark SQL(Scala版&Java版) (https://edu.51cto.com/course/11496.html )
Spark2.x 实战应用系列七 :有SQL基础就可玩转Spark SQL(Scala版&Python版) (https://edu.51cto.com/course/11495.html )
Spark2.x 实战应用系列八 :Spark SQL with Hive (https://edu.51cto.com/course/11537.html )
---------------------------------------Spark-graphx(图计算)实战应用------------------------------------------------------------
Spark2.x 实战应用系列九 :Spark Graphx实战(即将发布)
---------------------------------------Spark-ml(机器学习)实战应用------------------------------------------------------------
Spark2.x 实战应用系列十 :Spark 机器学习实战(即将发布)
大数据实时流处理技术系列课程计划
---------------------------------------Spark Streaming专题(https://edu.51cto.com/topic/1402.html )--------------
Spark2.x 实时流计算系列一:Spark Streaming编程模型 (https://edu.51cto.com/course/12327.html )
Spark2.x 实时流计算系列二:Spark Streaming性能与稳定 (https://edu.51cto.com/course/12326.html )
Spark2.x 实时流计算系列三:Spark Streaming容错与语义 (https://edu.51cto.com/course/12325.html )
Spark2.x 实时流计算系列四:Flume + Kafka + Spark Streaming (https://edu.51cto.com/course/12324.html )
---------------------------------------Structured Streaming专题------------------------------------------------------------
Spark2.x 实时流计算系列五:Structured Streaming解决的问题 (https://edu.51cto.com/course/12330.html )
本课程内容如下:
第一章:课程内容
1、课程内容
2、学习Scala需要的环境
第二章:Classes and Objects
1、Scala脚本的运行-fsc命令
2、Scala应用程序的入口
3、分号推断规则
4、Class的定义
5、伴生对象
6、基本类型及其操作
第三章:Abstract class抽象类
1、抽象类的定义以及继承
2、子类构造器调用父类构造器
3、多态和绑定
4、使用组合而不是继承
5、给Element类增加方法
6、使用工厂方法
7、客户端使用Element类
第四章:Scala的类型体系
1、Scala的类型体系
2、超类Any的讲解
3、Bottom Type-Nothing和Null的讲解
第五章:Traits及其使用
1、trait的定义
2、trait使得瘦接口变成富接口
3、trait叠加修饰的作用
4、trait与多重继承的区别
5、什么时候使用trait
第六章:package and import
1、package的讲解
2、import的讲解
3、访问修饰符的讲解
公开笔记对他人可见,有机会被管理员评为“优质笔记”
{{ noteEditor.content.length }}/2000
讲师收到你的提问会尽快为你解答。若选择公开提问,可以获得更多学员的帮助。
课程大纲
- 第一章 课程内容
- 1-1试看 怎样学习Scala08:30
- 1-2试看 课程内容09:25
- 1-3试看 学习Scala需要的环境19:20
- 第二章 Classes and Objects
- 2-1试看 Scala脚本的运行-fsc命令07:45
- 2-2试看 Scala应用程序的入口16:18
- 2-3分号推断规则07:38
- 2-4Class的定义11:18
- 2-5伴生对象12:49
- 2-6基本类型及其操作15:33
- 第三章 Abstract class抽象类
- 3-1抽象类的定义以及继承13:38