Examples of rowType()


Examples of com.foundationdb.qp.row.Row.rowType()

                }
                checkQueryCancelation();
                Row row = null;
                Row inputRow = input.next();
                while (row == null && inputRow != null) {
                    if (inputRow.rowType() == predicateRowType) {
                        pEvaluation.with(inputRow);
                        pEvaluation.evaluate();
                        if (pEvaluation.resultValue().getBoolean(false)) {
                            // New row of predicateRowType
                            if (groupScanInput) {
View Full Code Here

Examples of com.foundationdb.qp.row.Row.rowType()

                            if (groupScanInput) {
                                selectedRow = inputRow;
                            }
                            row = inputRow;
                        }
                    } else if (predicateRowType.ancestorOf(inputRow.rowType())) {
                        // Row's type is a descendent of predicateRowType.
                        if (selectedRow != null && selectedRow.ancestorOf(inputRow)) {
                            row = inputRow;
                        } else {
                            selectedRow = null;
View Full Code Here

Examples of com.foundationdb.qp.row.Row.rowType()

            runTapEntered = true;
            cursor.openTopLevel();
            Row row;
            while ((row = cursor.next()) != null) {
                boolean actioned = false;
                if (row.rowType().equals(planOperator.rowType())) {
                    doAction(action, handler, row);
                    actioned = true;
                }
                else if (storePlan.incomingRowIsWithinGI) {
                    // "Natural" index cleanup. Look for the left half, but only if we need to
View Full Code Here

Examples of com.foundationdb.qp.row.Row.rowType()

                else if (storePlan.incomingRowIsWithinGI) {
                    // "Natural" index cleanup. Look for the left half, but only if we need to
                    Index.JoinType giJoin = groupIndex.getJoinType();
                    switch (giJoin) {
                    case LEFT:
                        if (row.rowType().equals(storePlan.leftHalf) && useInvertType(action, context, bindings) &&
                                !skipCascadeRow(action, row, handler)) {
                            Row outerRow = new FlattenedRow(storePlan.topLevelFlattenType, row, null, row.hKey());
                            doAction(invert(action), handler, outerRow);
                            actioned = true;
                        }
View Full Code Here

Examples of com.foundationdb.qp.row.Row.rowType()

        {
            TAP_OPEN.in();
            try {
                super.open();
                Row rowFromBindings = bindings.getRow(inputBindingPosition);
                assert rowFromBindings.rowType() == inputRowType : rowFromBindings;
                if (inputRowType != sourceRowType) {
                    rowFromBindings = rowFromBindings.subRow(sourceRowType);
                }
                if (LOG_EXECUTION) {
                    LOG.debug("BranchLookup_Nested: open using {}", rowFromBindings);
View Full Code Here

Examples of com.foundationdb.qp.row.Row.rowType()

                    row = inputRow;
                    inputRow = null;
                } else {
                    do {
                        row = cursor.next();
                    } while ((row != null) && !outputRowTypes.contains(row.rowType()));
                    if (row == null) {
                        if (keepInput && !inputPrecedesBranch) {
                            assert inputRow != null;
                            row = inputRow;
                            inputRow = null;
View Full Code Here

Examples of com.foundationdb.qp.row.Row.rowType()

        @Override
        public void open() {
            super.open();
            Row rowFromBindings = bindings.getRow(inputBindingPosition);
            assert rowFromBindings.rowType() == inputRowType : rowFromBindings;
            if (inputRowType != sourceRowType) {
                rowFromBindings = rowFromBindings.subRow(sourceRowType);
            }
            computeLookupRowHKey(rowFromBindings);
            cursor.rebind(hKey, true);
View Full Code Here

Examples of com.foundationdb.qp.row.Row.rowType()

                row = inputRow;
                inputRow = null;
            } else {
                do {
                    row = cursor.next();
                } while ((row != null) && !outputRowTypes.contains(row.rowType()));
                if (row == null) {
                    if (keepInput && !inputPrecedesBranch) {
                        assert inputRow != null;
                        row = inputRow;
                        inputRow = null;
View Full Code Here

Examples of com.foundationdb.qp.row.Row.rowType()

                Row row;
                do {
                    row = input.next();
                    if (row == null) {
                        setIdle();
                    } else if (!keepTypes.contains(row.rowType())) {
                        row = null;
                    }
                } while (row == null && isActive());
                if (LOG_EXECUTION) {
                    LOG.debug("Filter_Default: yield {}", row);
View Full Code Here

Examples of com.foundationdb.qp.row.Row.rowType()

        @Override
        public void open()
        {
            super.open();
            Row row = bindings.getRow(bindingPosition);
            assert (row.rowType() == outerType) : row;
            boundRow = row;
        }

        @Override
        public Row next()
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.