Package org.apache.spark
Class SparkFiles
Object
org.apache.spark.SparkFiles
Resolves paths to files added through
SparkContext.addFile()
.-
Constructor Details
-
SparkFiles
public SparkFiles()
-
-
Method Details
-
get
Get the absolute path of a file added throughSparkContext.addFile()
.- Parameters:
filename
- (undocumented)- Returns:
- (undocumented)
-
getRootDirectory
Get the root directory that contains files added throughSparkContext.addFile()
.- Returns:
- (undocumented)
-