public class InstrumentedFileSystemUtils extends Object
FileSystems.| Constructor and Description |
|---|
InstrumentedFileSystemUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.fs.FileStatus[] |
replaceScheme(org.apache.hadoop.fs.FileStatus[] paths,
String replace,
String replacement)
Replace the scheme of each
FileStatus if it matches the string to replace. |
static org.apache.hadoop.fs.FileStatus |
replaceScheme(org.apache.hadoop.fs.FileStatus st,
String replace,
String replacement)
Replace the scheme of the input
FileStatus if it matches the string to replace. |
static org.apache.hadoop.fs.Path[] |
replaceScheme(org.apache.hadoop.fs.Path[] paths,
String replace,
String replacement)
Replace the scheme of each
Path if it matches the string to replace. |
static org.apache.hadoop.fs.Path |
replaceScheme(org.apache.hadoop.fs.Path path,
String replace,
String replacement)
Replace the scheme of the input
Path if it matches the string to replace. |
static URI |
replaceScheme(URI uri,
String replace,
String replacement)
Replace the scheme of the input
URI if it matches the string to replace. |
public static URI replaceScheme(URI uri, String replace, String replacement)
URI if it matches the string to replace.public static org.apache.hadoop.fs.Path replaceScheme(org.apache.hadoop.fs.Path path,
String replace,
String replacement)
Path if it matches the string to replace.public static org.apache.hadoop.fs.Path[] replaceScheme(org.apache.hadoop.fs.Path[] paths,
String replace,
String replacement)
Path if it matches the string to replace.public static org.apache.hadoop.fs.FileStatus[] replaceScheme(org.apache.hadoop.fs.FileStatus[] paths,
String replace,
String replacement)
FileStatus if it matches the string to replace.