Package edu.isi.karma.util

Examples of edu.isi.karma.util.AbstractJDBCUtil.escapeTablename()


 
  public void generateRDFFromTable(String tablename, List<KR2RMLRDFWriter> writers, R2RMLMappingIdentifier id, ContextIdentifier contextId, String baseURI)
      throws IOException, JSONException, KarmaException, SQLException, ClassNotFoundException {
    initializeWriter(id, contextId, writers);
    AbstractJDBCUtil dbUtil = JDBCUtilFactory.getInstance(dbType);
    String query = "Select * FROM " + dbUtil.escapeTablename(tablename);
    generateRDF(tablename, query, writers, id, baseURI);
  }
 
  private void initializeWriter(R2RMLMappingIdentifier id, ContextIdentifier contextId, List<KR2RMLRDFWriter> writers) {
    JSONObject contextObj = new JSONObject();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.