Package com.asakusafw.compiler.flow.processor.operator

Examples of com.asakusafw.compiler.flow.processor.operator.FoldFlowFactory


        Cogroup cog1 = f.cogroup(in1, core.empty(Ex2.class));
        Cogroup cog2 = f.cogroup(in1, core.empty(Ex2.class));
        core.stop(cog1.r2);
        core.stop(cog2.r2);

        FoldFlowFactory fff = new FoldFlowFactory();
        Confluent<Ex1> con1 = core.confluent(cog1.r1, cog2.r1);
        Simple fold = fff.simple(con1);
        out1.add(fold.out);
    }
View Full Code Here


        this.out1 = out1;
    }

    @Override
    protected void describe() {
        FoldFlowFactory folds = new FoldFlowFactory();
        UpdateFlowFactory updates = new UpdateFlowFactory();
        FoldFlowFactory.Simple fold = folds.simple(in1);
        UpdateFlowFactory.Simple update = updates.simple(fold.out);
        out1.add(update.out);
    }
View Full Code Here

        this.out1 = out1;
    }

    @Override
    protected void describe() {
        FoldFlowFactory f = new FoldFlowFactory();
        Simple op = f.simple(in1);
        out1.add(op.out);
    }
View Full Code Here

        this.out1 = out1;
    }

    @Override
    protected void describe() {
        FoldFlowFactory f = new FoldFlowFactory();
        WithParameter op = f.withParameter(in1, 10);
        out1.add(op.out);
    }
View Full Code Here

TOP

Related Classes of com.asakusafw.compiler.flow.processor.operator.FoldFlowFactory

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.