Package org.chaidb.db.index

Examples of org.chaidb.db.index.NodeIdConverter


    protected void copyData(AbstractBTree newBTree, KernelContext kContext) throws ChaiDBException {
        try {
            this.acquire(kContext, LockManager.LOCK_READ);
            newBTree.acquire(kContext, LockManager.LOCK_WRITE);
            newBTree.setConverter(new NodeIdConverter());
            Enumeration keys = keys(kContext);
            if (keys == null) return;
            while (keys.hasMoreElements()) {
                Key key = (Key) keys.nextElement();
                ((PathBTree) newBTree).store(key, kContext);
View Full Code Here

TOP

Related Classes of org.chaidb.db.index.NodeIdConverter

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.