Package org.openrdf.sail.rdbms.mysql

Examples of org.openrdf.sail.rdbms.mysql.MySqlStore


     
      if (config.getInitParameter("mysqlDb") != null
          && config.getInitParameter("mysqlServer") != null
          && config.getInitParameter("mysqlUser") != null
          && config.getInitParameter("mysqlPass") != null) {
        MySqlStore myStore = new MySqlStore(config.getInitParameter("mysqlDb"));
        myStore.setServerName(config.getInitParameter("mysqlServer"));
        myStore.setUser(config.getInitParameter("mysqlUser"));
        myStore.setPassword(config.getInitParameter("mysqlPass"));
        myStore.setMaxNumberOfTripleTables(16);
        //myStore.setIndexed(true);
        baseStore = myStore;
      } else {
        baseStore = new NativeStore(new File(getAbsolutePath(config.getInitParameter("cacheStore"), context)));
      }
View Full Code Here


    super(name);
  }

  @Override
  protected Repository createRepository() throws IOException {
    return new SailRepository(new MySqlStore("sesame_test"));
  }
View Full Code Here

TOP

Related Classes of org.openrdf.sail.rdbms.mysql.MySqlStore

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.