Class 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 Detail

      • cosBucketPathPrefix

        String cosBucketPathPrefix
      • fhirResourceType

        @Inject
        @Any
        String fhirResourceType
      • stepCtx

        @Inject
        javax.batch.runtime.context.StepContext stepCtx
      • jobContext

        @Inject
        javax.batch.runtime.context.JobContext jobContext
    • Constructor Detail

      • ChunkWriter

        public ChunkWriter()
    • Method Detail

      • open

        public void open​(Serializable checkpoint)
                  throws Exception
        Specified by:
        open in interface javax.batch.api.chunk.ItemWriter
        Overrides:
        open in class javax.batch.api.chunk.AbstractItemWriter
        Throws:
        Exception
      • close

        public void close()
                   throws Exception
        Specified by:
        close in interface javax.batch.api.chunk.ItemWriter
        Overrides:
        close in class javax.batch.api.chunk.AbstractItemWriter
        Throws:
        Exception
      • writeItems

        public void writeItems​(List<Object> resourceLists)
                        throws Exception
        Specified by:
        writeItems in interface javax.batch.api.chunk.ItemWriter
        Specified by:
        writeItems in class javax.batch.api.chunk.AbstractItemWriter
        Throws:
        Exception