tachyon
Class UnderFileSystemHdfs
java.lang.Object
tachyon.UnderFileSystem
tachyon.UnderFileSystemHdfs
public class UnderFileSystemHdfs
- extends UnderFileSystem
HDFS UnderFilesystem implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getClient
public static UnderFileSystemHdfs getClient(String path)
close
public void close()
throws IOException
- Specified by:
close
in class UnderFileSystem
- Throws:
IOException
create
public org.apache.hadoop.fs.FSDataOutputStream create(String path)
throws IOException
- Specified by:
create
in class UnderFileSystem
- Throws:
IOException
delete
public boolean delete(String path,
boolean recursive)
throws IOException
- Specified by:
delete
in class UnderFileSystem
- Throws:
IOException
exists
public boolean exists(String path)
- Specified by:
exists
in class UnderFileSystem
getFileLocations
public List<String> getFileLocations(String path)
- Specified by:
getFileLocations
in class UnderFileSystem
getFileSize
public long getFileSize(String path)
- Specified by:
getFileSize
in class UnderFileSystem
mkdirs
public boolean mkdirs(String path,
boolean createParent)
- Specified by:
mkdirs
in class UnderFileSystem
open
public org.apache.hadoop.fs.FSDataInputStream open(String path)
- Specified by:
open
in class UnderFileSystem
rename
public boolean rename(String src,
String dst)
- Specified by:
rename
in class UnderFileSystem
Copyright © 2013. All Rights Reserved.