Package org.exist.storage.NativeBroker

Examples of org.exist.storage.NativeBroker.NodeRef


    protected long findValue(DBBroker broker, NodeProxy node)
            throws IOException, BTreeException {
        if (!lock.hasLock())
            {LOG.warn("The file doesn't own a lock");}
        final DocumentImpl doc = node.getDocument();
        final NodeRef nodeRef = new NativeBroker.NodeRef(doc.getDocId(), node.getNodeId());
        // first try to find the node in the index
        final long pointer = findValue(nodeRef);
        if (pointer == KEY_NOT_FOUND) {
            // node not found in index: try to find the nearest available
            // ancestor and traverse it
View Full Code Here

TOP

Related Classes of org.exist.storage.NativeBroker.NodeRef

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.