Package net.sf.farrago.query

Examples of net.sf.farrago.query.FarragoJavaUdxRel


            typeFactory.createTypeWithNullability(
                udxRel.getRowType(),
                true);

        RelNode rel =
            new FarragoJavaUdxRel(
                udxRel.getCluster(),
                rexCall,
                resultType,
                udxRel.getServerMofId(),
                RelNode.emptyArray);

        rel = RelOptUtil.createCastRel(rel, udxRel.getRowType(), true);

        RexNode extraFilter = null;
        List<SargBinding> residualSargBindingList = sargBindingList;

        RexNode residualRexNode =
            rexAnalyzer.getResidualSargRexNode(residualSargBindingList);

        RexNode postFilterRexNode = rexAnalyzer.getPostFilterRexNode();

        if ((residualRexNode != null) && (postFilterRexNode != null)) {
            extraFilter =
                rexBuilder.makeCall(
                    SqlStdOperatorTable.andOperator,
                    residualRexNode,
                    postFilterRexNode);
        } else if (residualRexNode != null) {
            extraFilter = residualRexNode;
        } else if (postFilterRexNode != null) {
            extraFilter = postFilterRexNode;
        }

        if (extraFilter != null) {
            rel = new FilterRel(rel.getCluster(), rel, extraFilter);
        }

        if (relLength == 3) {
            ProjectRel pRel = null;
            if (filterOnProj) {
View Full Code Here

TOP

Related Classes of net.sf.farrago.query.FarragoJavaUdxRel

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.