Package de.fuberlin.wiwiss.d2rq.helpers

Examples of de.fuberlin.wiwiss.d2rq.helpers.HSQLDatabase


  private DownloadMap downloadCLOB;
  private DownloadMap downloadBLOB;
  private DownloadContentQuery q;
 
  public void setUp() {
    db = new HSQLDatabase("test");
    db.executeSQL("CREATE TABLE People (ID INT NOT NULL PRIMARY KEY, PIC_CLOB CLOB NULL, PIC_BLOB BLOB NULL)");
    db.executeSQL("INSERT INTO People VALUES (1, 'Hello World!', NULL)");
    db.executeSQL("INSERT INTO People VALUES (2, NULL, HEXTORAW('404040'))");
    Mapping m = MappingHelper.readFromTestFile("download/download-map.ttl");
    downloadCLOB = m.downloadMap(ResourceFactory.createResource("http://example.org/downloadCLOB"));
View Full Code Here

TOP

Related Classes of de.fuberlin.wiwiss.d2rq.helpers.HSQLDatabase

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.