Class Row2CasMapper


  • public class Row2CasMapper
    extends Object
    • Constructor Detail

      • Row2CasMapper

        public Row2CasMapper​(String[] rowMappingArray,
                             Supplier<List<Map<String,​Object>>> columnsToRetrieveSupplier)
                      throws org.apache.uima.resource.ResourceInitializationException
        Throws:
        org.apache.uima.resource.ResourceInitializationException
    • Method Detail

      • getRowMapping

        public LinkedHashMap<Integer,​de.julielab.jcore.reader.xml.Row2CasMapper.RowMapElement> getRowMapping()
      • mapRowToType

        public void mapRowToType​(byte[][] arrayArray,
                                 org.apache.uima.jcas.JCas jcas)
                          throws org.apache.uima.collection.CollectionException
        Throws:
        org.apache.uima.collection.CollectionException