Package ca.uhn.fhir.batch2.jobs.step
Class ResourceIdListStep<PT extends PartitionedUrlJobParameters>
java.lang.Object
ca.uhn.fhir.batch2.jobs.step.ResourceIdListStep<PT>
- All Implemented Interfaces:
IJobStepWorker<PT,ChunkRangeJson, ResourceIdListWorkChunkJson>
public class ResourceIdListStep<PT extends PartitionedUrlJobParameters>
extends Object
implements IJobStepWorker<PT,ChunkRangeJson,ResourceIdListWorkChunkJson>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrun(StepExecutionDetails<PT, ChunkRangeJson> theStepExecutionDetails, IJobDataSink<ResourceIdListWorkChunkJson> theDataSink) Executes a step
-
Field Details
-
MAX_BATCH_OF_IDS
- See Also:
-
-
Constructor Details
-
ResourceIdListStep
-
-
Method Details
-
run
@Nonnull public RunOutcome run(@Nonnull StepExecutionDetails<PT, ChunkRangeJson> theStepExecutionDetails, @Nonnull IJobDataSink<ResourceIdListWorkChunkJson> theDataSink) throws JobExecutionFailedExceptionDescription copied from interface:IJobStepWorkerExecutes a step- Specified by:
runin interfaceIJobStepWorker<PT extends PartitionedUrlJobParameters,ChunkRangeJson, ResourceIdListWorkChunkJson> - Parameters:
theStepExecutionDetails- Contains details about the individual executiontheDataSink- A data sink for data produced during this step. This may never be used during the final step of a job.- Returns:
- Returns a
RunOutcomecontaining details about the execution. See the javadoc for that class for details about how to populate it. - Throws:
JobExecutionFailedException- This exception indicates an unrecoverable failure. If a step worker throws this exception, processing for the job will be aborted.
-