このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
textFile
クラス: matlab.compiler.mlspark.SparkContext
名前空間: matlab.compiler.mlspark
テキスト ファイルから RDD を作成
構文
rdd = textFile(sc,pathToFile)
rdd = textFile(sc,pathToFile,minPartitions)
説明
は、rdd
= textFile(sc
,pathToFile
)pathToFile
にあるテキスト ファイルから RDD を作成します。
は、rdd
= textFile(sc
,pathToFile
,minPartitions
)minPartitions
で指定された最小の分割数をもつ RDD を作成します。
入力引数
出力引数
例
バージョン履歴
R2016b で導入