Class ResourceToFileWriter

java.lang.Object
ca.uhn.fhir.jpa.bulk.export.job.BaseResourceToFileWriter
ca.uhn.fhir.jpa.bulk.export.job.ResourceToFileWriter
All Implemented Interfaces:
org.springframework.batch.item.ItemWriter<List<org.hl7.fhir.instance.model.api.IBaseResource>>

public class ResourceToFileWriter extends ca.uhn.fhir.jpa.bulk.export.job.BaseResourceToFileWriter
  • Field Summary

    Fields inherited from class ca.uhn.fhir.jpa.bulk.export.job.BaseResourceToFileWriter

    myBinaryDao, myBulkExportCollectionEntityId, myDaoRegistry, myFhirContext, myOutputStream, myResourceType, ourLog
  • Constructor Summary

    Constructors
    Constructor
    Description
    ResourceToFileWriter(ca.uhn.fhir.context.FhirContext theFhirContext, ca.uhn.fhir.jpa.api.dao.DaoRegistry theDaoRegistry)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Optional<org.hl7.fhir.instance.model.api.IIdType>
     
    void
     

    Methods inherited from class ca.uhn.fhir.jpa.bulk.export.job.BaseResourceToFileWriter

    createBinaryFromOutputStream, write

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ResourceToFileWriter

      public ResourceToFileWriter(ca.uhn.fhir.context.FhirContext theFhirContext, ca.uhn.fhir.jpa.api.dao.DaoRegistry theDaoRegistry)
  • Method Details

    • start

      @PostConstruct public void start()
    • flushToFiles

      protected Optional<org.hl7.fhir.instance.model.api.IIdType> flushToFiles()
      Specified by:
      flushToFiles in class ca.uhn.fhir.jpa.bulk.export.job.BaseResourceToFileWriter