Package edu.isi.karma.kr2rml.exception

Examples of edu.isi.karma.kr2rml.exception.HNodeNotFoundKarmaException


        String hNodeId = translateColumnNameToHNodeId(templateTermValue);
        columnNameToHNodeId.put(templateTermValue, hNodeId);
        hNodeIdToColumnName.put(hNodeId, templateTermValue);
       
      } catch (JSONException e) {
        throw new HNodeNotFoundKarmaException("Unable to find HNodeId for column name", templateTermValue);
      }
    }
    return this.columnNameToHNodeId.get(templateTermValue);
  }
View Full Code Here


    for(ColumnTemplateTerm term : subjMapTemplate.getAllColumnNameTermElements())
    {
      String hNodeIdForColumnName = translator.getHNodeIdForColumnName(term.getTemplateTermValue());
      if(hNodeIdForColumnName == null)
      {
        throw new HNodeNotFoundKarmaException("Unable to find column name while populating terms for subject template", term.getTemplateTermValue());
      }
      HNodePath path = factory.getHNode(hNodeIdForColumnName).getHNodePath(factory);
      subjectTermsToPaths.put(term, path);
    }
  }
View Full Code Here

TOP

Related Classes of edu.isi.karma.kr2rml.exception.HNodeNotFoundKarmaException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.