Package com.hp.hpl.jena.tdb.index.factories

Examples of com.hp.hpl.jena.tdb.index.factories.IndexFactoryBPlusTree


    // This class and FactoryGraphTDB are old ways of making graphs and datasets
   
    /** Create a graph backed with storage at a location using B+Tree indexes (testing) */
    public static GraphTDB createBPlusTree(Location location)
    {
        IndexFactoryBPlusTree idxFactory = new IndexFactoryBPlusTree(SystemTDB.BlockSizeTest) ;
        IndexBuilder builder = new IndexBuilder(idxFactory,idxFactory) ;
        return FactoryGraphTDB.createGraph(builder, location) ;
    }
View Full Code Here


    }

    /** Create a graph backed with storage and B+Tree indexes in-memory (testing) */
    public static GraphTDB createBPlusTreeMem()
    {
        IndexFactoryBPlusTree idxFactory = new IndexFactoryBPlusTree(SystemTDB.BlockSizeTestMem) ;
        IndexBuilder builder = new IndexBuilder(idxFactory,idxFactory) ;
        return FactoryGraphTDB.createGraphMem(builder) ;
    }
View Full Code Here

    // This class and FactoryGraphTDB are old ways of making graphs and datasets
   
    /** Create a graph backed with storage at a location using B+Tree indexes (testing) */
    public static GraphTriplesTDB createBPlusTree(Location location)
    {
        IndexFactoryBPlusTree idxFactory = new IndexFactoryBPlusTree(SystemTDB.BlockSizeTest) ;
        IndexBuilder builder = new IndexBuilder(idxFactory,idxFactory) ;
        return FactoryGraphTDB.createGraph(builder, location) ;
    }
View Full Code Here

    }

    /** Create a graph backed with storage and B+Tree indexes in-memory (testing) */
    public static GraphTriplesTDB createBPlusTreeMem()
    {
        IndexFactoryBPlusTree idxFactory = new IndexFactoryBPlusTree(SystemTDB.BlockSizeTestMem) ;
        IndexBuilder builder = new IndexBuilder(idxFactory,idxFactory) ;
        return FactoryGraphTDB.createGraphMem(builder) ;
    }
View Full Code Here

    {
        switch (indexType)
        {
            case BPlusTree:
            {
                IndexFactoryBPlusTree idx = new IndexFactoryBPlusTree() ;
                return new IndexBuilder(idx, idx) ;
            }
            case ExtHash:
            {
                IndexFactoryExtHash idxFactory = new IndexFactoryExtHash() ;
                IndexFactoryBPlusTree idx = new IndexFactoryBPlusTree() ;
                return new IndexBuilder(idxFactory, idx) ;
            }
        }
        throw new TDBException("Unrecognized index type: " + indexType) ;
    }
View Full Code Here

TOP

Related Classes of com.hp.hpl.jena.tdb.index.factories.IndexFactoryBPlusTree

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.