public class SparkPath
extends Object
implements scala.Product, scala.Serializable
| Constructor and Description | 
|---|
SparkPath()  | 
| Modifier and Type | Method and Description | 
|---|---|
static SparkPath | 
fromFileStatus(org.apache.hadoop.fs.FileStatus fs)  | 
static SparkPath | 
fromPath(org.apache.hadoop.fs.Path path)  | 
static SparkPath | 
fromPathString(String str)
Creates a SparkPath from a hadoop Path string. 
 | 
static SparkPath | 
fromUri(java.net.URI uri)  | 
static SparkPath | 
fromUrlString(String str)
Creates a SparkPath from a url-encoded string. 
 | 
org.apache.hadoop.fs.Path | 
toPath()  | 
String | 
toString()  | 
java.net.URI | 
toUri()  | 
String | 
urlEncoded()  | 
public static SparkPath fromPathString(String str)
Please see the hadoop Path documentation here: https://hadoop.apache.org/docs/stable/api/org/apache/hadoop/fs/Path.html#Path-java.lang.String-
str - (undocumented)public static SparkPath fromPath(org.apache.hadoop.fs.Path path)
public static SparkPath fromFileStatus(org.apache.hadoop.fs.FileStatus fs)
public static SparkPath fromUrlString(String str)
str - (undocumented)public static SparkPath fromUri(java.net.URI uri)
public String urlEncoded()
public java.net.URI toUri()
public org.apache.hadoop.fs.Path toPath()
public String toString()
toString in class Object