Class: matlab.compiler.mlspark.SparkContext
Package: matlab.compiler.mlspark
Create an RDD from a text file
rdd = textFile(sc,pathToFile)
rdd = textFile(sc,pathToFile,minPartitions)
creates
an RDD from a text file located in rdd = textFile(sc,pathToFile)pathToFile.
creates
an RDD with minimum partitions specified by rdd = textFile(sc,pathToFile,minPartitions)minPartitions.