Package xbird.xquery.dm.dtm.PagingProfile

Examples of xbird.xquery.dm.dtm.PagingProfile.Strategy


        this.export(curNode.getPosition(), receiver);
    }

    public void export(final long nodeid, final XQEventReceiver receiver) throws XQueryException {
        final PagingProfile profile = _store.getPagingProfile();
        Strategy origStrategy = null;
        if(profile != null) {
            origStrategy = profile.getStrategy();
            profile.setStrategy(Strategy.serialization);
        }
        final IDocumentTable doctbl = _store;
View Full Code Here


        @Override
        public final XQNode following(final boolean firstcall) {
            final PagingProfile profile = _store.getPagingProfile();
            final XQNode node;
            if(profile != null) {
                Strategy origStrategy = profile.getStrategy();
                if(origStrategy != Strategy.nextsib) {
                    assert (origStrategy != null);
                    profile.setStrategy(Strategy.nextsib);
                    node = super.following(firstcall);
                    profile.setStrategy(origStrategy);
View Full Code Here

                    } catch (IOException e) {
                        throw new XQRTException("failed to load document '" + docName
                                + "' is the collection '" + col.getAbsolutePath() + '\'', e);
                    }
                    final PagingProfile profile = doctbl.getPagingProfile();
                    Strategy origStrategy = null;
                    if(profile != null) {
                        profile.setProfiler(profiler);
                        origStrategy = profile.getStrategy();
                        profile.setStrategy(Strategy.index);
                    }
View Full Code Here

        this.export(curNode.getPosition(), receiver);
    }

    public void export(final long nodeid, final XQEventReceiver receiver) throws XQueryException {
        final PagingProfile profile = _store.getPagingProfile();
        Strategy origStrategy = null;
        if(profile != null) {
            origStrategy = profile.getStrategy();
            profile.setStrategy(Strategy.serialization);
        }
        final IDocumentTable doctbl = _store;
View Full Code Here

        @Override
        public final XQNode following(final boolean firstcall) {
            final PagingProfile profile = _store.getPagingProfile();
            final XQNode node;
            if(profile != null) {
                Strategy origStrategy = profile.getStrategy();
                if(origStrategy != Strategy.nextsib) {
                    assert (origStrategy != null);
                    profile.setStrategy(Strategy.nextsib);
                    node = super.following(firstcall);
                    profile.setStrategy(origStrategy);
View Full Code Here

                    } catch (IOException e) {
                        throw new XQRTException("failed to load document '" + docName
                                + "' is the collection '" + col.getAbsolutePath() + '\'', e);
                    }
                    final PagingProfile profile = doctbl.getPagingProfile();
                    Strategy origStrategy = null;
                    if(profile != null) {
                        profile.setProfiler(profiler);
                        origStrategy = profile.getStrategy();
                        profile.setStrategy(Strategy.index);
                    }
View Full Code Here

TOP

Related Classes of xbird.xquery.dm.dtm.PagingProfile.Strategy

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.