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 Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String cosBucketPathPrefix  
      (package private) java.lang.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​(java.io.Serializable checkpoint)  
      void writeItems​(java.util.List<java.lang.Object> resourceLists)  
      • Methods inherited from class javax.batch.api.chunk.AbstractItemWriter

        checkpointInfo
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • cosBucketPathPrefix

        java.lang.String cosBucketPathPrefix
      • fhirResourceType

        @Inject
        @Any
        java.lang.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​(java.io.Serializable checkpoint)
                  throws java.lang.Exception
        Specified by:
        open in interface javax.batch.api.chunk.ItemWriter
        Overrides:
        open in class javax.batch.api.chunk.AbstractItemWriter
        Throws:
        java.lang.Exception
      • close

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

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