Examples of KiWiStore


Examples of org.apache.marmotta.kiwi.sail.KiWiStore

    }


    @Before
    public void initDatabase() throws RepositoryException {
        store = new KiWiStore(dbConfig);
        tsail = new KiWiTransactionalSail(store);
        vsail = new KiWiVersioningSail(tsail);
        repository = new SnapshotRepository(vsail);
        repository.initialize();
    }
View Full Code Here

Examples of org.apache.marmotta.kiwi.sail.KiWiStore

        KiWiConfiguration h2Config = KiWiDatabaseRunner.createKiWiConfig("H2", new H2Dialect());
        DBConnectionChecker.checkDatabaseAvailability(h2Config);
       
        rnd = new Random();

        store = new KiWiStore(h2Config);
        store.setDropTablesOnShutdown(true);
        repository = new SailRepository(store);
        repository.initialize();
    }
View Full Code Here

Examples of org.apache.marmotta.kiwi.sail.KiWiStore

    }

    @Before
    public void initDatabase() throws RepositoryException {
        store = new KiWiStore(kiwiConfiguration);
        store.setDropTablesOnShutdown(true);
        repository = new SailRepository(store);
        repository.initialize();
    }
View Full Code Here

Examples of org.apache.marmotta.kiwi.sail.KiWiStore

    /* (non-Javadoc)
     * @see org.openrdf.repository.RepositoryTest#createRepository()
     */
    @Override
    protected Repository createRepository() throws Exception {
        store = new KiWiStore(config);
        return new SailRepository(store);
    }
View Full Code Here

Examples of org.apache.marmotta.kiwi.sail.KiWiStore

     * @see org.openrdf.repository.RepositoryConnectionTest#createRepository()
     */
    @Override
    protected Repository createRepository() throws Exception {
        config.setDefaultContext(null);
        KiWiStore store = new KiWiStore(config);
        store.setDropTablesOnShutdown(true);
        return new SailRepository(store);
    }
View Full Code Here

Examples of org.apache.marmotta.kiwi.sail.KiWiStore

    @Override
    protected Repository createRepository() throws Exception {
        hotrod.clearAll();

        config.setDefaultContext(null);
        KiWiStore store = new KiWiStore(config);
        store.setDropTablesOnShutdown(true);
        return new SailRepository(store);
    }
View Full Code Here

Examples of org.apache.marmotta.kiwi.sail.KiWiStore

     */
    @Override
    protected Repository createRepository() throws Exception {
        hotrod.clearAll();

        store = new KiWiStore(config);
        return new SailRepository(store);
    }
View Full Code Here

Examples of org.apache.marmotta.kiwi.sail.KiWiStore

            configuration.setQueryLoggingEnabled(configurationService.getBooleanConfiguration("database.debug.slowqueries",false));
            configuration.setBatchCommit(batchCommit);
            configuration.setBatchSize(configurationService.getIntConfiguration("database.batchsize",10000));
            configuration.setMemorySequences(configurationService.getBooleanConfiguration("database.memsequences",true));

            store = new KiWiStore(configuration);

            tsail = new KiWiTransactionalSail(store);

            log.info("initialising repository plugins ...");
View Full Code Here

Examples of org.apache.marmotta.kiwi.sail.KiWiStore

    @Before
    public void setup() throws RepositoryException, IOException, RDFParseException {
        // jdbc:h2:mem;MVCC=true;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=10
        repositoryRDF = new SailRepository(
                new KiWiStore(
                        "kiwiTest",
                        "jdbc:h2:mem:facading;MVCC=true;DB_CLOSE_ON_EXIT=TRUE;DB_CLOSE_DELAY=10",
                        "", "", new H2Dialect(),
                        "http://example.com/ctx/default", "http://example.com/ctx/inferred"));
        repositoryRDF.initialize();
View Full Code Here

Examples of org.apache.marmotta.kiwi.sail.KiWiStore

    }


    @Before
    public void initDatabase() throws RepositoryException {
        store = new KiWiStore("test",jdbcUrl,jdbcUser,jdbcPass,dialect, "http://localhost/context/default", "http://localhost/context/inferred");
        repository = new SailRepository(store);
        repository.initialize();

        backend = new LDCachingKiWiBackend(store, CACHE_CONTEXT);
        backend.initialize();
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.