Class Utils


  • public final class Utils
    extends java.lang.Object
    Util methods.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void createFile​(alluxio.client.file.FileSystem fs, alluxio.AlluxioURI path)
      Creates a file at the given path.
      static void createFile​(alluxio.client.file.FileSystem fs, alluxio.AlluxioURI path, alluxio.grpc.CreateFilePOptions options)
      Creates a file at the given path.
      • Methods inherited from class java.lang.Object

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

      • createFile

        public static void createFile​(alluxio.client.file.FileSystem fs,
                                      alluxio.AlluxioURI path)
                               throws java.lang.Exception
        Creates a file at the given path.
        Parameters:
        fs - a filesystem client
        path - the file path
        Throws:
        java.lang.Exception
      • createFile

        public static void createFile​(alluxio.client.file.FileSystem fs,
                                      alluxio.AlluxioURI path,
                                      alluxio.grpc.CreateFilePOptions options)
                               throws java.lang.Exception
        Creates a file at the given path.
        Parameters:
        fs - a filesystem client
        path - the file path
        options - create file options
        Throws:
        java.lang.Exception