Class ChunkWriter
- java.lang.Object
-
- javax.batch.api.chunk.AbstractItemWriter
-
- com.ibm.fhir.bulkdata.jbatch.export.system.ChunkWriter
-
- All Implemented Interfaces:
javax.batch.api.chunk.ItemWriter
@Dependent public class ChunkWriter extends javax.batch.api.chunk.AbstractItemWriter
BulkExport System ChunkWriter outputs the incoming data to the given source.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) String
cosBucketPathPrefix
(package private) String
fhirResourceType
(package private) javax.batch.runtime.context.JobContext
jobContext
(package private) javax.batch.runtime.context.StepContext
stepCtx
-
Constructor Summary
Constructors Constructor Description ChunkWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
open(Serializable checkpoint)
void
writeItems(List<Object> resourceLists)
-
-
-
Method Detail
-
open
public void open(Serializable checkpoint) throws Exception
- Specified by:
open
in interfacejavax.batch.api.chunk.ItemWriter
- Overrides:
open
in classjavax.batch.api.chunk.AbstractItemWriter
- Throws:
Exception
-
close
public void close() throws Exception
- Specified by:
close
in interfacejavax.batch.api.chunk.ItemWriter
- Overrides:
close
in classjavax.batch.api.chunk.AbstractItemWriter
- Throws:
Exception
-
-