public class SparkFiles
extends Object
SparkContext.addFile().| Constructor and Description |
|---|
SparkFiles() |
| Modifier and Type | Method and Description |
|---|---|
static String |
get(String filename)
Get the absolute path of a file added through
SparkContext.addFile(). |
static String |
getRootDirectory()
Get the root directory that contains files added through
SparkContext.addFile(). |
public static String get(String filename)
SparkContext.addFile().filename - (undocumented)public static String getRootDirectory()
SparkContext.addFile().