单项选择题

读取本地或HDFS 上的文本文件,可以使用sparkContext 中的()方法。

A.readText
B.getText
C.textRead
D.textFile