tachyon
Class UnderFileSystemHdfs

java.lang.Object
  extended by tachyon.UnderFileSystem
      extended by tachyon.UnderFileSystemHdfs

public class UnderFileSystemHdfs
extends UnderFileSystem

HDFS UnderFilesystem implementation.


Method Summary
 void close()
           
 org.apache.hadoop.fs.FSDataOutputStream create(String path)
           
 boolean delete(String path, boolean recursive)
           
 boolean exists(String path)
           
static UnderFileSystemHdfs getClient(String path)
           
 List<String> getFileLocations(String path)
           
 long getFileSize(String path)
           
 boolean mkdirs(String path, boolean createParent)
           
 org.apache.hadoop.fs.FSDataInputStream open(String path)
           
 boolean rename(String src, String dst)
           
 
Methods inherited from class tachyon.UnderFileSystem
getUnderFileSystem
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.