Class Upload

java.lang.Object
com.gooddata.sdk.model.dataset.Upload

public class Upload
extends java.lang.Object
Contains information about single dataset upload. Deserialization only.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String URI  
  • Method Summary

    Modifier and Type Method Description
    java.time.ZonedDateTime getCreatedAt()  
    java.lang.String getMessage()  
    java.time.ZonedDateTime getProcessedAt()  
    double getProgress()  
    java.lang.Integer getSize()  
    java.lang.String getStatus()  
    UploadMode getUploadMode()  
    java.lang.String getUri()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Method Details

    • getUri

      public java.lang.String getUri()
      Returns:
      uri link to self
    • getStatus

      public java.lang.String getStatus()
      Returns:
      upload status
    • getProgress

      public double getProgress()
      Returns:
      upload progress in percent as floating point number
    • getMessage

      public java.lang.String getMessage()
      Returns:
      error message if the upload failed, null otherwise
    • getUploadMode

      public UploadMode getUploadMode()
      Returns:
      UploadMode of this upload
    • getSize

      public java.lang.Integer getSize()
      Returns:
      size of the data uploaded by this upload
    • getCreatedAt

      public java.time.ZonedDateTime getCreatedAt()
      Returns:
      date of creation of this upload
    • getProcessedAt

      public java.time.ZonedDateTime getProcessedAt()
      Returns:
      date when the upload was processed or null if upload is still being processed
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object