public abstract class StreamedFileSystem extends FileSystem
FileSystem implementations that manage remote resources.| Constructor and Description |
|---|
StreamedFileSystem() |
| Modifier and Type | Method and Description |
|---|---|
FSDataOutputStream |
append(Path f,
int bufferSize,
Progressable progress) |
FSDataOutputStream |
create(Path path,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
boolean |
delete(Path path)
Deprecated.
|
boolean |
delete(Path path,
boolean b) |
static java.lang.String |
getMD5SumFor(Configuration conf,
Path path) |
static java.lang.String |
getMD5SumFor(Configuration conf,
java.lang.String path) |
Path |
getWorkingDirectory() |
FileStatus[] |
listStatus(Path path) |
boolean |
mkdirs(Path path,
FsPermission fsPermission) |
boolean |
rename(Path path,
Path path1) |
static void |
setMD5SumFor(Configuration conf,
Path path,
java.lang.String md5Hex) |
static void |
setMD5SumFor(Configuration conf,
java.lang.String path,
java.lang.String md5Hex) |
void |
setWorkingDirectory(Path f) |
public StreamedFileSystem()
public FSDataOutputStream create(Path path, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress) throws java.io.IOException
java.io.IOExceptionpublic boolean rename(Path path, Path path1) throws java.io.IOException
java.io.IOException@Deprecated public boolean delete(Path path) throws java.io.IOException
java.io.IOExceptionpublic boolean delete(Path path, boolean b) throws java.io.IOException
java.io.IOExceptionpublic Path getWorkingDirectory()
public void setWorkingDirectory(Path f)
public boolean mkdirs(Path path, FsPermission fsPermission) throws java.io.IOException
java.io.IOExceptionpublic FileStatus[] listStatus(Path path) throws java.io.IOException
java.io.IOExceptionpublic FSDataOutputStream append(Path f, int bufferSize, Progressable progress) throws java.io.IOException
java.io.IOExceptionpublic static java.lang.String getMD5SumFor(Configuration conf, Path path)
public static java.lang.String getMD5SumFor(Configuration conf, java.lang.String path)
public static void setMD5SumFor(Configuration conf, Path path, java.lang.String md5Hex)
public static void setMD5SumFor(Configuration conf, java.lang.String path, java.lang.String md5Hex)
Copyright © 2007-2021 Cascading Maintainers. All Rights Reserved.