Package org.modeshape.jcr.query.engine.process

Examples of org.modeshape.jcr.query.engine.process.SecureSequence


        this.restartable = restartable;
        NodeSequence rows = results.getRows();
        if (rows.isEmpty()) {
            this.sequence = rows;
        } else if (!restartable) {
            this.sequence = new SecureSequence(rows, context);
        } else {
            String workspace = context.getWorkspaceName();
            BufferManager bufferMgr = context.getBufferManager();
            CachedNodeSupplier nodeCache = results.getCachedNodes();
            NodeSequence secureSequence = new SecureSequence(rows, context);
            this.sequence = new RestartableSequence(workspace, secureSequence, bufferMgr, nodeCache, numRowsInMemory);
        }

        assert this.context != null;
        assert this.results != null;
View Full Code Here

TOP

Related Classes of org.modeshape.jcr.query.engine.process.SecureSequence

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.