Class DBMultiplierReader

  • 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 DBMultiplierReader
    extends DBSubsetReader
    • Constructor Detail

      • DBMultiplierReader

        public DBMultiplierReader()
    • Method Detail

      • initialize

        public void initialize​(org.apache.uima.UimaContext context)
                        throws org.apache.uima.resource.ResourceInitializationException
        Overrides:
        initialize in class DBSubsetReader
        Throws:
        org.apache.uima.resource.ResourceInitializationException
      • getNext

        public void getNext​(org.apache.uima.jcas.JCas jCas)
                     throws org.apache.uima.collection.CollectionException
        Specified by:
        getNext in class org.apache.uima.fit.component.JCasCollectionReader_ImplBase
        Throws:
        org.apache.uima.collection.CollectionException
      • hasNext

        public boolean hasNext()
      • getNextDocumentIdBatch

        public List<Object[]> getNextDocumentIdBatch()
        Returns the next batch of document IDs from the database table given by the 'Table' parameter.
        Returns:
        A list of document IDs from the read table.
      • getProgress

        public org.apache.uima.util.Progress[] getProgress()
      • 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