Package ca.uhn.fhir.jpa.bulk.export.job
Class BulkItemReader
java.lang.Object
ca.uhn.fhir.jpa.bulk.export.job.BaseBulkItemReader
ca.uhn.fhir.jpa.bulk.export.job.BaseJpaBulkItemReader
ca.uhn.fhir.jpa.bulk.export.job.BulkItemReader
- All Implemented Interfaces:
org.springframework.batch.item.ItemReader<List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId>>
Basic Bulk Export implementation which simply reads all type filters and applies them, along with the _since param
on a given resource type.
-
Field Summary
Fields inherited from class ca.uhn.fhir.jpa.bulk.export.job.BaseJpaBulkItemReader
myDaoRegistry, myJobUUID, mySearchBuilderFactory
Fields inherited from class ca.uhn.fhir.jpa.bulk.export.job.BaseBulkItemReader
myContext, myReadChunkSize, myResourceType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Iterator<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId>
Methods inherited from class ca.uhn.fhir.jpa.bulk.export.job.BaseJpaBulkItemReader
getJobEntity, getLogInfoForRead, getPatientSearchParamForCurrentResourceType, getSearchBuilderForLocalResourceType, getSinceDate, getTypeFilterList
Methods inherited from class ca.uhn.fhir.jpa.bulk.export.job.BaseBulkItemReader
buildSearchParameterMapForTypeFilter, createSearchParameterMapsForResourceType, getResourceDefinition, loadResourcePIDs, read
-
Constructor Details
-
BulkItemReader
public BulkItemReader()
-
-
Method Details
-
getResourcePidIterator
protected Iterator<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> getResourcePidIterator()- Specified by:
getResourcePidIterator
in classca.uhn.fhir.jpa.bulk.export.job.BaseBulkItemReader
-