
Package ca.uhn.fhir.jpa.bulk.export.job
Class BaseBulkItemReader
java.lang.Object
ca.uhn.fhir.jpa.bulk.export.job.BaseBulkItemReader
- All Implemented Interfaces:
org.springframework.batch.item.ItemReader<List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId>>
public abstract class BaseBulkItemReader
extends Object
implements org.springframework.batch.item.ItemReader<List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId>>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildSearchParameterMapForTypeFilter
(String theFilter, ca.uhn.fhir.context.RuntimeResourceDefinition theDef) protected List<SearchParameterMap>
protected abstract String
protected ca.uhn.fhir.context.RuntimeResourceDefinition
protected abstract Iterator<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId>
protected abstract Date
protected abstract String[]
protected void
Generate the list of PIDs of all resources of the given myResourceType, which reference any group member of the given myGroupId.List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId>
read()
-
Field Details
-
myResourceType
-
myReadChunkSize
-
myContext
-
-
Constructor Details
-
BaseBulkItemReader
public BaseBulkItemReader()
-
-
Method Details
-
loadResourcePIDs
Generate the list of PIDs of all resources of the given myResourceType, which reference any group member of the given myGroupId. Store them in a member iterator. -
getResourcePidIterator
protected abstract Iterator<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> getResourcePidIterator() -
getTypeFilterList
-
getSinceDate
-
getLogInfoForRead
-
createSearchParameterMapsForResourceType
-
buildSearchParameterMapForTypeFilter
public SearchParameterMap buildSearchParameterMapForTypeFilter(String theFilter, ca.uhn.fhir.context.RuntimeResourceDefinition theDef) -
getResourceDefinition
-
read
- Specified by:
read
in interfaceorg.springframework.batch.item.ItemReader<List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId>>
-