Package com.netflix.lipstick.model.operators

Examples of com.netflix.lipstick.model.operators.P2jLOCogroup


     * @param node LOCogroup operator to convert to P2jLOCogroup.
     * @param lp the LogicalPlan containing node
     * @throws FrontendException
     */
    public LOCogroupJsonAdaptor(LOCogroup node, LogicalPlan lp) throws FrontendException {
        super(node, new P2jLOCogroup(), lp);
        P2jLOCogroup cogroup = (P2jLOCogroup) p2j;
        cogroup.setGroup(node.getGroupType().toString(), getGroupType(node), getGroupExpressions(node, lp));
    }
View Full Code Here


        Assert.assertNotNull(join.getJoin());
    }

    private void verifyCogroupAdaptor(LOCogroupJsonAdaptor adaptor, LOCogroup lro) {
        Assert.assertTrue(adaptor.getToP2jOperator() instanceof P2jLOCogroup);
        P2jLOCogroup cogroup = (P2jLOCogroup) adaptor.getToP2jOperator();
        Assert.assertNotNull(cogroup.getGroup());
    }
View Full Code Here

        filter1.setPredecessors(Lists.newArrayList("colors"));

        expectedOps.add(filter1);

        // Add all expected P2jLOCogroup objects
        P2jLOCogroup cogroup1 = new P2jLOCogroup();
        cogroup1.setAlias("tiny_colors_cogrp");
        cogroup1.setPredecessors(Lists.newArrayList("tiny", "colors", "colors2"));
        cogroup1.setSuccessors(Lists.newArrayList("out"));

        expectedOps.add(cogroup1);

        // Add all expected P2jLOLimit objects
        P2jLOLimit limit1 = new P2jLOLimit();
View Full Code Here

TOP

Related Classes of com.netflix.lipstick.model.operators.P2jLOCogroup

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.