Class ExportCheckpointUserData
- java.lang.Object
-
- com.ibm.fhir.bulkdata.jbatch.export.data.ExportCheckpointUserData
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ExportTransientUserData
public class ExportCheckpointUserData extends java.lang.Object implements java.io.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 java.util.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 java.lang.String
resourceTypeSummary
protected long
totalResourcesNum
protected long
uploadCount
protected java.lang.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)
java.util.List<com.ibm.cloud.objectstorage.services.s3.model.PartETag>
getCosDataPacks()
long
getCurrentUploadResourceNum()
long
getCurrentUploadSize()
int
getIndexOfCurrentTypeFilter()
int
getLastPageNum()
int
getLastWrittenPageNum()
int
getPageNum()
int
getPartNum()
java.lang.String
getResourceTypeSummary()
long
getTotalResourcesNum()
long
getUploadCount()
java.lang.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(java.lang.String resourceTypeSummary)
void
setTotalResourcesNum(long totalResourcesNum)
void
setUploadCount(long uploadCount)
void
setUploadId(java.lang.String uploadId)
java.lang.String
toString()
-
-
-
Field Detail
-
pageNum
protected int pageNum
-
lastPageNum
protected int lastPageNum
-
partNum
protected int partNum
-
uploadId
protected java.lang.String uploadId
-
uploadCount
protected long uploadCount
-
cosDataPacks
protected java.util.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 java.lang.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 java.lang.String getUploadId()
-
setUploadId
public void setUploadId(java.lang.String uploadId)
-
getCosDataPacks
public java.util.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 java.lang.String getResourceTypeSummary()
-
setResourceTypeSummary
public void setResourceTypeSummary(java.lang.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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-