org.apache.spark
Class SparkFiles

Object
  extended by org.apache.spark.SparkFiles

public class SparkFiles
extends Object

Resolves paths to files added through SparkContext.addFile().


Constructor Summary
SparkFiles()
           
 
Method Summary
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().
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SparkFiles

public SparkFiles()
Method Detail

get

public static String get(String filename)
Get the absolute path of a file added through SparkContext.addFile().

Parameters:
filename - (undocumented)
Returns:
(undocumented)

getRootDirectory

public static String getRootDirectory()
Get the root directory that contains files added through SparkContext.addFile().

Returns:
(undocumented)