public final class HadoopFileStatus extends java.lang.Object implements FileStatus
| Constructor and Description |
|---|
HadoopFileStatus(org.apache.hadoop.fs.FileStatus fileStatus) |
| Modifier and Type | Method and Description |
|---|---|
long |
getAccessTime()
To get the access time of the file
|
long |
getBlockSize()
To get the length of the block size
|
org.apache.hadoop.fs.FileStatus |
getInternalFileStatus() |
long |
getLen()
To get the length of the filename
|
long |
getModificationTime()
To get the modification time of the file
|
Path |
getPath()
To get the path of the file
|
short |
getReplication()
To get the replication of the file
|
boolean |
isDir()
To check whether it is a directory or not.
|
public HadoopFileStatus(org.apache.hadoop.fs.FileStatus fileStatus)
public long getLen()
getLen in interface FileStatuspublic long getBlockSize()
getBlockSize in interface FileStatuspublic long getAccessTime()
getAccessTime in interface FileStatuspublic long getModificationTime()
getModificationTime in interface FileStatuspublic short getReplication()
getReplication in interface FileStatuspublic org.apache.hadoop.fs.FileStatus getInternalFileStatus()
public Path getPath()
getPath in interface FileStatuspublic boolean isDir()
isDir in interface FileStatus