Package ca.uhn.fhir.batch2.jobs.step
Class GenerateRangeChunksStep<PT extends PartitionedUrlJobParameters>
java.lang.Object
ca.uhn.fhir.batch2.jobs.step.GenerateRangeChunksStep<PT>
- All Implemented Interfaces:
IFirstJobStepWorker<PT,,ChunkRangeJson> IJobStepWorker<PT,VoidModel, ChunkRangeJson>
public class GenerateRangeChunksStep<PT extends PartitionedUrlJobParameters>
extends Object
implements IFirstJobStepWorker<PT,ChunkRangeJson>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrun(StepExecutionDetails<PT, VoidModel> theStepExecutionDetails, IJobDataSink<ChunkRangeJson> theDataSink) Executes a step
-
Constructor Details
-
GenerateRangeChunksStep
public GenerateRangeChunksStep()
-
-
Method Details
-
run
@Nonnull public RunOutcome run(@Nonnull StepExecutionDetails<PT, VoidModel> theStepExecutionDetails, @Nonnull IJobDataSink<ChunkRangeJson> theDataSink) throws JobExecutionFailedExceptionDescription copied from interface:IJobStepWorkerExecutes a step- Specified by:
runin interfaceIJobStepWorker<PT extends PartitionedUrlJobParameters,VoidModel, ChunkRangeJson> - 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.
-