Package com.foundationdb.qp.util

Examples of com.foundationdb.qp.util.MultiCursor


    }

    @Test(expected=IllegalStateException.class)
    public void testSealed()
    {
        MultiCursor multiCursor = multiCursor();
        multiCursor.open();
        multiCursor.addCursor(new TestCursor(new int[]{}));
    }
View Full Code Here


        return multiCursor(false, cursors);
    }

    private MultiCursor multiCursor(boolean openAll, TestCursor ... cursors)
    {
        MultiCursor multiCursor = new MultiCursor(openAll);
        for (TestCursor cursor : cursors) {
            multiCursor.addCursor(cursor);
        }
        return multiCursor;
    }
View Full Code Here

    private IndexCursorSpatial_InBox(QueryContext context, IterationHelper iterationHelper, IndexKeyRange keyRange, boolean openAll)
    {
        super(context, iterationHelper);
        assert keyRange.spatial();
        this.multiCursor = new MultiCursor(openAll);
        this.iterationHelper = iterationHelper;
        Index spatialIndex = keyRange.indexRowType().index();
        assert spatialIndex.isSpatial() : spatialIndex;
        this.space = spatialIndex.space();
        this.latColumn = spatialIndex.firstSpatialArgument();
View Full Code Here

TOP

Related Classes of com.foundationdb.qp.util.MultiCursor

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.