Class ClinicalTrialsReader

  • All Implemented Interfaces:
    org.apache.uima.collection.base_cpm.BaseCollectionReader, org.apache.uima.collection.CollectionReader, org.apache.uima.resource.ConfigurableResource, org.apache.uima.resource.Resource

    public class ClinicalTrialsReader
    extends org.apache.uima.fit.component.JCasCollectionReader_ImplBase
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String PARAM_FILES  
      static String PARAM_INPUT_DIR  
      • Fields inherited from interface org.apache.uima.resource.Resource

        PARAM_AGGREGATE_SOFA_MAPPINGS, PARAM_CONFIG_MANAGER, PARAM_CONFIG_PARAM_SETTINGS, PARAM_EXTERNAL_OVERRIDE_SETTINGS, PARAM_PERFORMANCE_TUNING_SETTINGS, PARAM_RESOURCE_MANAGER, PARAM_UIMA_CONTEXT
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void getNext​(org.apache.uima.jcas.JCas jCas)
      This method is called for each document going through the component.
      org.apache.uima.util.Progress[] getProgress()  
      boolean hasNext()  
      void initialize​(org.apache.uima.UimaContext context)
      This method is called a single time by the framework at component creation.
      • Methods inherited from class org.apache.uima.fit.component.JCasCollectionReader_ImplBase

        getLogger, getNext, initialize
      • Methods inherited from class org.apache.uima.collection.CollectionReader_ImplBase

        destroy, getCasInitializer, getProcessingResourceMetaData, initialize, isConsuming, reconfigure, setCasInitializer, typeSystemInit
      • Methods inherited from class org.apache.uima.resource.ConfigurableResource_ImplBase

        getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
      • Methods inherited from class org.apache.uima.resource.Resource_ImplBase

        getCasManager, getMetaData, getRelativePathResolver, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaData
      • Methods inherited from interface org.apache.uima.resource.ConfigurableResource

        getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
      • Methods inherited from interface org.apache.uima.resource.Resource

        getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger
    • Constructor Detail

      • ClinicalTrialsReader

        public ClinicalTrialsReader()
    • Method Detail

      • initialize

        public void initialize​(org.apache.uima.UimaContext context)
                        throws org.apache.uima.resource.ResourceInitializationException
        This method is called a single time by the framework at component creation. Here, descriptor parameters are read and initial setup is done.
        Overrides:
        initialize in class org.apache.uima.fit.component.JCasCollectionReader_ImplBase
        Throws:
        org.apache.uima.resource.ResourceInitializationException
      • getNext

        public void getNext​(org.apache.uima.jcas.JCas jCas)
        This method is called for each document going through the component. This is where the actual work happens.
        Specified by:
        getNext in class org.apache.uima.fit.component.JCasCollectionReader_ImplBase
      • close

        public void close()
        Specified by:
        close in interface org.apache.uima.collection.base_cpm.BaseCollectionReader
        Overrides:
        close in class org.apache.uima.fit.component.JCasCollectionReader_ImplBase
      • getProgress

        public org.apache.uima.util.Progress[] getProgress()
      • hasNext

        public boolean hasNext()