Class DBReaderBase

  • 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
    Direct Known Subclasses:
    DBSubsetReader

    public abstract class DBReaderBase
    extends org.apache.uima.fit.component.JCasCollectionReader_ImplBase
    • Constructor Summary

      Constructors 
      Constructor Description
      DBReaderBase()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void initialize​(org.apache.uima.UimaContext context)  
      • Methods inherited from class org.apache.uima.fit.component.JCasCollectionReader_ImplBase

        close, getLogger, getNext, 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.collection.base_cpm.BaseCollectionReader

        getProgress, hasNext
      • 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
    • Field Detail

      • batchSize

        protected int batchSize
      • driver

        protected String driver
      • tableName

        protected String tableName
      • selectionOrder

        protected String selectionOrder
      • whereCondition

        protected String whereCondition
      • limitParameter

        protected Integer limitParameter
      • numberFetchedDocIDs

        protected volatile int numberFetchedDocIDs
      • joinTables

        protected boolean joinTables
      • dbc

        protected de.julielab.costosys.dbconnection.DataBaseConnector dbc
      • hasNext

        protected boolean hasNext
      • totalDocumentCount

        protected int totalDocumentCount
      • processedDocuments

        protected int processedDocuments
      • costosysConfig

        protected String costosysConfig
    • Constructor Detail

      • DBReaderBase

        public DBReaderBase()
    • Method Detail

      • initialize

        public void initialize​(org.apache.uima.UimaContext context)
                        throws org.apache.uima.resource.ResourceInitializationException
        Overrides:
        initialize in class org.apache.uima.fit.component.JCasCollectionReader_ImplBase
        Throws:
        org.apache.uima.resource.ResourceInitializationException