Package com.mapr.util

Class MapRFSUtil


  • public class MapRFSUtil
    extends java.lang.Object
    Utility class that provides APIs to interact with MapRFS.
    • Constructor Summary

      Constructors 
      Constructor Description
      MapRFSUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean create​(java.lang.String path, boolean isDir)  
      static boolean delete​(java.lang.String path)  
      static com.mapr.fs.MapRFileSystem getMapRFileSystem()  
      static com.mapr.fs.MapRFileSystem getMapRFileSystem​(java.lang.String uname)  
      static boolean isDir​(java.lang.String path)  
      static boolean pathExists​(java.lang.String path)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapRFSUtil

        public MapRFSUtil()
    • Method Detail

      • getMapRFileSystem

        public static com.mapr.fs.MapRFileSystem getMapRFileSystem()
      • getMapRFileSystem

        public static com.mapr.fs.MapRFileSystem getMapRFileSystem​(java.lang.String uname)
      • isDir

        public static boolean isDir​(java.lang.String path)
      • pathExists

        public static boolean pathExists​(java.lang.String path)
      • create

        public static boolean create​(java.lang.String path,
                                     boolean isDir)
      • delete

        public static boolean delete​(java.lang.String path)