Class ImportTransientUserData
- java.lang.Object
-
- com.ibm.fhir.bulkdata.jbatch.load.data.ImportCheckPointData
-
- com.ibm.fhir.bulkdata.jbatch.load.data.ImportTransientUserData
-
- All Implemented Interfaces:
java.io.Serializable
public class ImportTransientUserData extends ImportCheckPointData
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImportTransientUserData.Builder
-
Field Summary
-
Fields inherited from class com.ibm.fhir.bulkdata.jbatch.load.data.ImportCheckPointData
currentBytes, dataPacksForFailureOperationOutcomes, dataPacksForOperationOutcomes, importFileSize, importPartitionResourceType, importPartitionWorkitem, inFlyRateBeginMilliSeconds, lastChecked, matrixWorkItem, numOfImportedResources, numOfImportFailures, numOfParseFailures, numOfProcessedResources, numOfSkipped, numOfToBeImported, partNumForFailureOperationOutcomes, partNumForOperationOutcomes, totalReadMilliSeconds, totalValidationMilliSeconds, totalWriteMilliSeconds, uniqueIDForImportFailureOperationOutcomes, uniqueIDForImportOperationOutcomes, uploadIdForFailureOperationOutcomes, uploadIdForOperationOutcomes
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ImportTransientUserData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImportTransientUserData
fromImportCheckPointData(ImportCheckPointData importCheckPointData)
Translate from CheckPoint to Transient User Datajava.io.BufferedReader
getBufferReader()
java.io.ByteArrayOutputStream
getBufferStreamForImport()
java.io.ByteArrayOutputStream
getBufferStreamForImportError()
java.io.InputStream
getInputStream()
void
setBufferReader(java.io.BufferedReader bufferReader)
void
setInputStream(java.io.InputStream inputStream)
java.lang.String
toString()
-
Methods inherited from class com.ibm.fhir.bulkdata.jbatch.load.data.ImportCheckPointData
addToNumOfImportedResources, addToNumOfImportFailures, addToNumOfParseFailures, addToNumOfProcessedResources, addToNumOfSkippedResources, addTotalValidationMilliSeconds, addToTotalReadMilliSeconds, addToTotalWriteMilliSeconds, fromImportTransientUserData, getCurrentBytes, getDataPacksForFailureOperationOutcomes, getDataPacksForOperationOutcomes, getImportFileSize, getImportPartitionResourceType, getImportPartitionWorkitem, getInFlyRateBeginMilliSeconds, getLastChecked, getMatrixWorkItem, getNumOfImportedResources, getNumOfImportFailures, getNumOfParseFailures, getNumOfProcessedResources, getNumOfSkippedResources, getNumOfToBeImported, getPartNumForFailureOperationOutcomes, getPartNumForOperationOutcomes, getTotalReadMilliSeconds, getTotalValidationMilliSeconds, getTotalWriteMilliSeconds, getUniqueIDForImportFailureOperationOutcomes, getUniqueIDForImportOperationOutcomes, getUploadIdForFailureOperationOutcomes, getUploadIdForOperationOutcomes, setCurrentBytes, setImportFileSize, setInFlyRateBeginMilliSeconds, setLastChecked, setMatrixWorkItem, setNumOfImportedResources, setNumOfImportFailures, setNumOfParseFailures, setNumOfProcessedResources, setNumOfSkippedResources, setNumOfToBeImported, setPartNumForFailureOperationOutcomes, setPartNumForOperationOutcomes, setTotalReadMilliSeconds, setTotalValidationMilliSeconds, setTotalWriteMilliSeconds, setUploadIdForFailureOperationOutcomes, setUploadIdForOperationOutcomes
-
-
-
-
Method Detail
-
getBufferStreamForImportError
public java.io.ByteArrayOutputStream getBufferStreamForImportError()
-
getBufferStreamForImport
public java.io.ByteArrayOutputStream getBufferStreamForImport()
-
getInputStream
public java.io.InputStream getInputStream()
-
setInputStream
public void setInputStream(java.io.InputStream inputStream)
-
getBufferReader
public java.io.BufferedReader getBufferReader()
-
setBufferReader
public void setBufferReader(java.io.BufferedReader bufferReader)
-
fromImportCheckPointData
public static ImportTransientUserData fromImportCheckPointData(ImportCheckPointData importCheckPointData)
Translate from CheckPoint to Transient User Data- Parameters:
importCheckPointData
-- Returns:
-
toString
public java.lang.String toString()
- Overrides:
toString
in classImportCheckPointData
-
-