Class GetResult


  • public class GetResult
    extends Object
    Represents the results of downloading a file from a stage location to the local file system.

    NOTE: fileName is the relative path to the file on the stage. For example, if you download `@myStage/prefix1/file1.csv.gz`, fileName is `prefix1/file1.csv.gz`.

    Since:
    1.2.0
    • Method Detail

      • getFileName

        public String getFileName()
        Retrieves the file name
        Returns:
        A String
        Since:
        1.2.0
      • getSizeBytes

        public long getSizeBytes()
        Retrieves the file size in bytes
        Returns:
        A long number
        Since:
        1.2.0
      • getStatus

        public String getStatus()
        Retrieves the file status
        Returns:
        A String
        Since:
        1.2.0
      • getEncryption

        public String getEncryption()
        Retrieves the encryption status
        Returns:
        A String
        Since:
        1.2.0
      • getMessage

        public String getMessage()
        Retrieves the message
        Returns:
        A String
        Since:
        1.2.0