Class MultiPartDownloadInfo


  • public class MultiPartDownloadInfo
    extends Object
    This is an internal class and not meant to be used by the end users of the filesystem API. The consequences of using this class directly in client code is not guaranteed and maybe undesirable. This class packages and mimics certain important attributes of a multi-part download operation. The attributes of this class are in one-one correspondence to those specified in the GPUdb.downloadFiles(List, List, List, Map) endpoint.
    • Constructor Detail

      • MultiPartDownloadInfo

        public MultiPartDownloadInfo()
        Default constructor
    • Method Detail

      • getReadOffset

        public long getReadOffset()
      • setReadOffset

        public void setReadOffset​(long readOffset)
      • getReadLength

        public long getReadLength()
      • setReadLength

        public void setReadLength​(long readLength)
      • getDownloadPartNumber

        public long getDownloadPartNumber()
      • setDownloadPartNumber

        public void setDownloadPartNumber​(long downloadPartNumber)
      • getTotalParts

        public long getTotalParts()
      • setTotalParts

        public void setTotalParts​(long totalParts)
      • setData

        public void setData​(ByteBuffer data)