Class HttpsProvider
- java.lang.Object
-
- com.ibm.fhir.bulkdata.provider.impl.HttpsProvider
-
-
Constructor Summary
Constructors Constructor Description HttpsProvider(java.lang.String source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Closes the StorageProvider wrapped resources.long
getNumberOfLoaded()
long
getNumberOfParseFailures()
java.util.List<Resource>
getResources()
gets the read resources.long
getSize(java.lang.String workItem)
gets the size of the given work item.void
readResources(long numOfLinesToSkip, java.lang.String workItem)
reads from a given workitem (or file) in a source and skips a certain noumber of linesvoid
registerTransient(long executionId, ExportTransientUserData transientUserData, java.lang.String cosBucketPathPrefix, java.lang.String fhirResourceType)
void
registerTransient(ImportTransientUserData transientUserData)
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.ibm.fhir.bulkdata.provider.Provider
createSource, pushEndOfJobOperationOutcomes, pushOperationOutcomes, writeResources
-
-
-
-
Method Detail
-
getSize
public long getSize(java.lang.String workItem) throws FHIRException
Description copied from interface:Provider
gets the size of the given work item.- Specified by:
getSize
in interfaceProvider
- Returns:
- Throws:
FHIRException
-
getResources
public java.util.List<Resource> getResources() throws FHIRException
Description copied from interface:Provider
gets the read resources.- Specified by:
getResources
in interfaceProvider
- Returns:
- Throws:
FHIRException
-
getNumberOfParseFailures
public long getNumberOfParseFailures() throws FHIRException
- Specified by:
getNumberOfParseFailures
in interfaceProvider
- Throws:
FHIRException
-
registerTransient
public void registerTransient(ImportTransientUserData transientUserData)
- Specified by:
registerTransient
in interfaceProvider
-
readResources
public void readResources(long numOfLinesToSkip, java.lang.String workItem) throws FHIRException
Description copied from interface:Provider
reads from a given workitem (or file) in a source and skips a certain noumber of lines- Specified by:
readResources
in interfaceProvider
- Throws:
FHIRException
-
getNumberOfLoaded
public long getNumberOfLoaded() throws FHIRException
- Specified by:
getNumberOfLoaded
in interfaceProvider
- Throws:
FHIRException
-
registerTransient
public void registerTransient(long executionId, ExportTransientUserData transientUserData, java.lang.String cosBucketPathPrefix, java.lang.String fhirResourceType)
- Specified by:
registerTransient
in interfaceProvider
-
-