Package de.fuberlin.wiwiss.d2rq.map

Examples of de.fuberlin.wiwiss.d2rq.map.Mapping.databases()


    Mapping mapping = generateMapping();
    mapping.configuration().setServeVocabulary(false);
    mapping.configuration().setUseAllOptimizations(true);
    mapping.connect();
    graph = getGraph(mapping);
    inspector = mapping.databases().iterator().next().connectedDB().schemaInspector();
  }
 
  protected void assertMappedType(String rdfType) {
    assertEquals(rdfType, inspector.columnType(
        SQL.parseAttribute("T_" + datatype + ".VALUE")).rdfType());
View Full Code Here


    Mapping mapping = loader.getMapping();
    try {
      // Trigger compilation
      mapping.compiledPropertyBridges();
      // Override the d2rq:resultSizeLimit given in the mapping
      for (Database db: mapping.databases()) {
        db.connectedDB().setDefaultFetchSize(DUMP_DEFAULT_FETCH_SIZE);
     

      Model d2rqModel = loader.getModelD2RQ();
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.