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