Class ChunkReader

  • All Implemented Interfaces:
    javax.batch.api.chunk.ItemReader

    @Dependent
    public class ChunkReader
    extends javax.batch.api.chunk.AbstractItemReader
    Bulk system export Chunk implementation - the Reader.
    • Field Detail

      • isSingleCosObject

        boolean isSingleCosObject
      • pageNum

        int pageNum
      • pageSize

        int pageSize
      • indexOfCurrentTypeFilter

        int indexOfCurrentTypeFilter
      • loadedResourceIds

        Set<String> loadedResourceIds
      • isDoDuplicationCheck

        boolean isDoDuplicationCheck
      • fhirTenant

        @Inject
        String fhirTenant
        Fhir tenant id.
      • fhirDatastoreId

        @Inject
        String fhirDatastoreId
        Fhir data store id.
      • fhirResourceType

        @Inject
        String fhirResourceType
        Fhir resource type to process.
      • fhirExportFormat

        @Inject
        protected String fhirExportFormat
        Fhir export format.
      • fhirSearchFromDate

        @Inject
        String fhirSearchFromDate
        Fhir Search from date.
      • fhirSearchToDate

        @Inject
        String fhirSearchToDate
        Fhir search to date.
      • fhirTypeFilters

        @Inject
        String fhirTypeFilters
        Fhir export type filters.
      • fhirSearchPageSize

        @Inject
        String fhirSearchPageSize
        Fhir search page size.
      • incomingUrl

        @Inject
        String incomingUrl
      • stepCtx

        @Inject
        javax.batch.runtime.context.StepContext stepCtx
    • Constructor Detail

      • ChunkReader

        public ChunkReader()
    • Method Detail

      • readItem

        public Object readItem()
                        throws Exception
        Specified by:
        readItem in interface javax.batch.api.chunk.ItemReader
        Specified by:
        readItem in class javax.batch.api.chunk.AbstractItemReader
        Throws:
        Exception
      • open

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

        public void close()
                   throws Exception
        Specified by:
        close in interface javax.batch.api.chunk.ItemReader
        Overrides:
        close in class javax.batch.api.chunk.AbstractItemReader
        Throws:
        Exception
      • checkpointInfo

        public Serializable checkpointInfo()
                                    throws Exception
        Specified by:
        checkpointInfo in interface javax.batch.api.chunk.ItemReader
        Overrides:
        checkpointInfo in class javax.batch.api.chunk.AbstractItemReader
        Throws:
        Exception