| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oozie.action.hadoop.FsELFunctions
public class FsELFunctions
EL function for fs action executor.
| Constructor Summary | |
|---|---|
| FsELFunctions() | |
| Method Summary | |
|---|---|
| static long | fs_blockSize(String pathUri)Return the file block size in bytes. | 
| static long | fs_dirSize(String pathUri)Return the size of all files in the directory, it is not recursive. | 
| static boolean | fs_exists(String pathUri)Return if a path exists. | 
| static long | fs_fileSize(String pathUri)Return the len of a file. | 
| static boolean | fs_isDir(String pathUri)Return if a path is a directory. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public FsELFunctions()
| Method Detail | 
|---|
public static boolean fs_exists(String pathUri)
                         throws Exception
pathUri - file system path uri.
true if the path exists, false if it does not.
Exception
public static boolean fs_isDir(String pathUri)
                        throws Exception
pathUri - fs path uri.
true if the path exists and it is a directory, false otherwise.
Exception
public static long fs_fileSize(String pathUri)
                        throws Exception
pathUri - file system path uri.
Exception
public static long fs_dirSize(String pathUri)
                       throws Exception
pathUri - file system path uri.
Exception
public static long fs_blockSize(String pathUri)
                         throws Exception
pathUri - file system path uri.
Exception| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||