Class StoragePath


  • public class StoragePath
    extends Object
    A data class pointing to a specific protocol (e.g. gs/s3), bucket and path in some storage system.
    Author:
    Eyal Schneider
    • Constructor Detail

      • StoragePath

        public StoragePath​(String protocol,
                           String bucket,
                           String path)
        Constructor
        Parameters:
        protocol - The protocol (e.g. "s3")
        bucket - The bucket name
        path - The path under the given bucket
    • Method Detail

      • getProtocol

        public String getProtocol()
        Returns:
        The protocol (e.g. "s3")
      • getBucket

        public String getBucket()
        Returns:
        The bucket name
      • getPath

        public String getPath()
        Returns:
        The path under the given bucket
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object