Class ExportCheckpointUserData
- java.lang.Object
-
- com.ibm.fhir.bulkdata.jbatch.export.data.ExportCheckpointUserData
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ExportTransientUserData
public class ExportCheckpointUserData extends Object implements Serializable
Bulk Export Job Checkpoint data.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExportCheckpointUserData.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<com.ibm.cloud.objectstorage.services.s3.model.PartETag>
cosDataPacks
protected long
currentUploadResourceNum
protected long
currentUploadSize
protected int
indexOfCurrentTypeFilter
protected int
lastPageNum
protected int
lastWrittenPageNum
protected int
pageNum
protected int
partNum
protected String
resourceTypeSummary
protected long
totalResourcesNum
protected long
uploadCount
protected String
uploadId
-
Constructor Summary
Constructors Modifier Constructor Description protected
ExportCheckpointUserData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCurrentUploadResourceNum(long currentUploadResourceNum)
void
addCurrentUploadSize(long currentUploadSize)
void
addTotalResourcesNum(int totalResourcesNum)
static ExportCheckpointUserData
fromTransientUserData(ExportTransientUserData userData)
List<com.ibm.cloud.objectstorage.services.s3.model.PartETag>
getCosDataPacks()
long
getCurrentUploadResourceNum()
long
getCurrentUploadSize()
int
getIndexOfCurrentTypeFilter()
int
getLastPageNum()
int
getLastWrittenPageNum()
int
getPageNum()
int
getPartNum()
String
getResourceTypeSummary()
long
getTotalResourcesNum()
long
getUploadCount()
String
getUploadId()
boolean
isFinishCurrentUpload()
boolean
isMoreToExport()
void
setCurrentUploadResourceNum(long currentUploadResourceNum)
void
setCurrentUploadSize(long currentUploadSize)
void
setFinishCurrentUpload(boolean isFinishCurrentUpload)
void
setIndexOfCurrentTypeFilter(int indexOfCurrentTypeFilter)
void
setLastPageNum(int lastPageNum)
void
setLastWrittenPageNum(int lastWritePageNum)
void
setMoreToExport(boolean isMoreToExport)
void
setPageNum(int pageNum)
void
setPartNum(int partNum)
void
setResourceTypeSummary(String resourceTypeSummary)
void
setTotalResourcesNum(long totalResourcesNum)
void
setUploadCount(long uploadCount)
void
setUploadId(String uploadId)
String
toString()
-
-
-
Field Detail
-
pageNum
protected int pageNum
-
lastPageNum
protected int lastPageNum
-
partNum
protected int partNum
-
uploadId
protected String uploadId
-
uploadCount
protected long uploadCount
-
cosDataPacks
protected List<com.ibm.cloud.objectstorage.services.s3.model.PartETag> cosDataPacks
-
currentUploadResourceNum
protected long currentUploadResourceNum
-
currentUploadSize
protected long currentUploadSize
-
totalResourcesNum
protected long totalResourcesNum
-
indexOfCurrentTypeFilter
protected int indexOfCurrentTypeFilter
-
resourceTypeSummary
protected String resourceTypeSummary
-
lastWrittenPageNum
protected int lastWrittenPageNum
-
-
Method Detail
-
fromTransientUserData
public static ExportCheckpointUserData fromTransientUserData(ExportTransientUserData userData)
-
getPageNum
public int getPageNum()
-
setPageNum
public void setPageNum(int pageNum)
-
getUploadId
public String getUploadId()
-
setUploadId
public void setUploadId(String uploadId)
-
getCosDataPacks
public List<com.ibm.cloud.objectstorage.services.s3.model.PartETag> getCosDataPacks()
-
getPartNum
public int getPartNum()
-
setPartNum
public void setPartNum(int partNum)
-
getLastPageNum
public int getLastPageNum()
-
setLastPageNum
public void setLastPageNum(int lastPageNum)
-
getCurrentUploadResourceNum
public long getCurrentUploadResourceNum()
-
setCurrentUploadResourceNum
public void setCurrentUploadResourceNum(long currentUploadResourceNum)
-
addCurrentUploadResourceNum
public void addCurrentUploadResourceNum(long currentUploadResourceNum)
-
getIndexOfCurrentTypeFilter
public int getIndexOfCurrentTypeFilter()
-
setIndexOfCurrentTypeFilter
public void setIndexOfCurrentTypeFilter(int indexOfCurrentTypeFilter)
-
getResourceTypeSummary
public String getResourceTypeSummary()
-
setResourceTypeSummary
public void setResourceTypeSummary(String resourceTypeSummary)
-
isMoreToExport
public boolean isMoreToExport()
-
setMoreToExport
public void setMoreToExport(boolean isMoreToExport)
-
getTotalResourcesNum
public long getTotalResourcesNum()
-
setTotalResourcesNum
public void setTotalResourcesNum(long totalResourcesNum)
-
addTotalResourcesNum
public void addTotalResourcesNum(int totalResourcesNum)
-
getCurrentUploadSize
public long getCurrentUploadSize()
-
setCurrentUploadSize
public void setCurrentUploadSize(long currentUploadSize)
-
addCurrentUploadSize
public void addCurrentUploadSize(long currentUploadSize)
-
isFinishCurrentUpload
public boolean isFinishCurrentUpload()
-
setFinishCurrentUpload
public void setFinishCurrentUpload(boolean isFinishCurrentUpload)
-
getUploadCount
public long getUploadCount()
-
setUploadCount
public void setUploadCount(long uploadCount)
-
getLastWrittenPageNum
public int getLastWrittenPageNum()
-
setLastWrittenPageNum
public void setLastWrittenPageNum(int lastWritePageNum)
- Parameters:
lastWritePageNum
- the last page of search results that was exported
-
-