Class GCSUtils


  • public final class GCSUtils
    extends java.lang.Object
    Util functions for GCS under file system.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static short translateBucketAcl​(org.jets3t.service.acl.gs.GSAccessControlList acl, java.lang.String userId)
      Translates GCS bucket owner ACL to Alluxio owner mode.
      • Methods inherited from class java.lang.Object

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

      • translateBucketAcl

        public static short translateBucketAcl​(org.jets3t.service.acl.gs.GSAccessControlList acl,
                                               java.lang.String userId)
        Translates GCS bucket owner ACL to Alluxio owner mode.
        Parameters:
        acl - the acl of GCS bucket
        userId - the S3 user id of the Alluxio owner
        Returns:
        the translated posix mode in short format