Package com.gooddata.dataset
Class Upload
- java.lang.Object
-
- com.gooddata.dataset.Upload
-
public class Upload extends Object
Contains information about single dataset upload. Deserialization only.
-
-
Field Summary
Fields Modifier and Type Field Description static StringURIstatic org.springframework.web.util.UriTemplateURI_TEMPLATE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.joda.time.DateTimegetCreatedAt()StringgetMessage()org.joda.time.DateTimegetProcessedAt()doublegetProgress()IntegergetSize()StringgetStatus()UploadModegetUploadMode()StringgetUri()StringtoString()
-
-
-
Field Detail
-
URI
public static final String URI
- See Also:
- Constant Field Values
-
URI_TEMPLATE
public static final org.springframework.web.util.UriTemplate URI_TEMPLATE
-
-
Method Detail
-
getUri
public String getUri()
- Returns:
- uri link to self
-
getStatus
public String getStatus()
- Returns:
- upload status
-
getProgress
public double getProgress()
- Returns:
- upload progress in percent as floating point number
-
getMessage
public String getMessage()
- Returns:
- error message if the upload failed,
nullotherwise
-
getUploadMode
public UploadMode getUploadMode()
- Returns:
UploadModeof this upload
-
getSize
public Integer getSize()
- Returns:
- size of the data uploaded by this upload
-
getCreatedAt
public org.joda.time.DateTime getCreatedAt()
- Returns:
- date of creation of this upload
-
getProcessedAt
public org.joda.time.DateTime getProcessedAt()
- Returns:
- date when the upload was processed or
nullif upload is still being processed
-
-