Class CheckpointUserData
- java.lang.Object
 - 
- com.ibm.fhir.bulkdata.jbatch.export.fast.data.CheckpointUserData
 
 
- 
- All Implemented Interfaces:
 Serializable
public class CheckpointUserData extends Object implements Serializable
Checkpoint data representing the state of the basic system export job- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description CheckpointUserData() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCurrentObjectName()intgetCurrentObjectResourceCount()longgetCurrentObjectSize()intgetCurrentUploadNumber()InstantgetFromLastModified()List<Integer>getResourceCounts()Get an immutable list of the resource counts for each file processed so farList<Long>getResourcesForLastTimestamp()StringgetResourceType()List<com.ibm.cloud.objectstorage.services.s3.model.PartETag>getUploadedParts()Getter for an immutable version of the upload result listStringgetUploadId()voidsetCurrentObjectName(String currentObjectName)voidsetCurrentObjectResourceCount(int currentObjectResourceCount)voidsetCurrentObjectSize(long currentObjectSize)voidsetCurrentUploadNumber(int currentUploadNumber)voidsetFromLastModified(Instant fromLastModified)voidsetResourceCounts(Collection<Integer> resourceCounts)voidsetResourcesForLastTimestamp(Collection<Long> resourcesForLastTimestamp)voidsetResourceType(String resourceType)voidsetUploadedParts(Collection<com.ibm.cloud.objectstorage.services.s3.model.PartETag> parts)Replace uploadedParts with values from the given parts collectionvoidsetUploadId(String uploadId) 
 - 
 
- 
- 
Method Detail
- 
getFromLastModified
public Instant getFromLastModified()
- Returns:
 - the fromLastModified
 
 
- 
setFromLastModified
public void setFromLastModified(Instant fromLastModified)
- Parameters:
 fromLastModified- the fromLastModified to set
 
- 
getUploadId
public String getUploadId()
- Returns:
 - the uploadId
 
 
- 
setUploadId
public void setUploadId(String uploadId)
- Parameters:
 uploadId- the uploadId to set
 
- 
getUploadedParts
public List<com.ibm.cloud.objectstorage.services.s3.model.PartETag> getUploadedParts()
Getter for an immutable version of the upload result list- Returns:
 - a list of 
PartETagobjects 
 
- 
setUploadedParts
public void setUploadedParts(Collection<com.ibm.cloud.objectstorage.services.s3.model.PartETag> parts)
Replace uploadedParts with values from the given parts collection- Parameters:
 parts-
 
- 
getCurrentObjectSize
public long getCurrentObjectSize()
- Returns:
 - the currentObjectSize
 
 
- 
setCurrentObjectSize
public void setCurrentObjectSize(long currentObjectSize)
- Parameters:
 currentObjectSize- the currentObjectSize to set
 
- 
getCurrentObjectName
public String getCurrentObjectName()
- Returns:
 - the currentObjectName
 
 
- 
setCurrentObjectName
public void setCurrentObjectName(String currentObjectName)
- Parameters:
 currentObjectName- the currentObjectName to set
 
- 
getCurrentObjectResourceCount
public int getCurrentObjectResourceCount()
- Returns:
 - the currentObjectResourceCount
 
 
- 
setCurrentObjectResourceCount
public void setCurrentObjectResourceCount(int currentObjectResourceCount)
- Parameters:
 currentObjectResourceCount- the currentObjectResourceCount to set
 
- 
getCurrentUploadNumber
public int getCurrentUploadNumber()
- Returns:
 - the currentUploadNumber
 
 
- 
setCurrentUploadNumber
public void setCurrentUploadNumber(int currentUploadNumber)
- Parameters:
 currentUploadNumber- the currentUploadNumber to set
 
- 
getResourcesForLastTimestamp
public List<Long> getResourcesForLastTimestamp()
- Returns:
 - the resourcesForLastTimestamp
 
 
- 
setResourcesForLastTimestamp
public void setResourcesForLastTimestamp(Collection<Long> resourcesForLastTimestamp)
- Parameters:
 resourcesForLastTimestamp- the resourcesForLastTimestamp to set
 
- 
getResourceCounts
public List<Integer> getResourceCounts()
Get an immutable list of the resource counts for each file processed so far- Returns:
 
 
- 
setResourceCounts
public void setResourceCounts(Collection<Integer> resourceCounts)
 
- 
getResourceType
public String getResourceType()
- Returns:
 - the resourceType
 
 
- 
setResourceType
public void setResourceType(String resourceType)
- Parameters:
 resourceType- the resourceType to set
 
 - 
 
 -