Package virtuoso.sesame3.driver

Examples of virtuoso.sesame3.driver.VirtuosoRepositoryConnection


  }

  public Repository getRepository(RepositoryImplConfig config)
    throws StoreConfigException
  {
    VirtuosoRepository result = null;
   
    if (config instanceof VirtuosoRepositoryConfig) {
      VirtuosoRepositoryConfig vConfig = (VirtuosoRepositoryConfig)config;
      result = new VirtuosoRepository(vConfig.getHostList(),
          vConfig.getUsername(),
          vConfig.getPassword(),
          vConfig.getDefGraph(),
          vConfig.getUseLazyAdd());
      result.setFetchSize(vConfig.getFetchSize());
      result.setRoundrobin(vConfig.getRoundRobin());
      result.setFetchSize(vConfig.getFetchSize());
        result.setRuleSet(vConfig.getRuleSet());
    }
    else {
      throw new StoreConfigException("Invalid configuration class: " + config.getClass());
    }
    return result;
View Full Code Here

TOP

Related Classes of virtuoso.sesame3.driver.VirtuosoRepositoryConnection

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.