Package org.chaidb.db.index.btree

Examples of org.chaidb.db.index.btree.BTree


        if (status == CLOSE) return;
        oldKernelContext.setOnlyMemory(true);
        switch (mode) {
            case STORE_REPLACE:
                if (storage instanceof BTree) {
                    BTree btree = (BTree) storage;
                    if (btree.isReady()) {
                        //Lookup from BTree to get original object and store.
                        store(key, storage.lookup(key, oldKernelContext), STORE_REPLACE, oldKernelContext);
                    }
                }
                return;
View Full Code Here


            case IBTreeConst.HYPER_BTREE:
                return new HyperBTree();
            case IBTreeConst.PATH_BTREE:
                return new PathBTree();
            case IBTreeConst.BTREE:
                return new BTree();
            default:
                return new BTree();
        }
    }
View Full Code Here

TOP

Related Classes of org.chaidb.db.index.btree.BTree

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.