Package eu.admire.ogsadai.client.toolkit.activity.statistics

Examples of eu.admire.ogsadai.client.toolkit.activity.statistics.ReplaceWithValue


        CalculateMean mean = new CalculateMean();
        mean.connectDataInput(query.getDataOutput());
        ConditionalSplit split = new ConditionalSplit();
        split.addCondition("A>=3.0 AND A<3.5 OR A IS NULL");
        split.connectDataInput(query.getDataOutput());
        ReplaceWithValue replace = new ReplaceWithValue();
        replace.connectValuesInput(mean.getDataOutput());
        replace.connectDataInput(split.getTrueOutput());
        replace.addColumns(new int[]{0});
        TupleUnionAll union = new TupleUnionAll();
        union.setNumberOfInputs(2);
        union.connectDataInput(0, split.getFalseOutput());
        union.connectDataInput(1, replace.getDataOutput());
        TupleToWebRowSetCharArrays webrowset = new TupleToWebRowSetCharArrays();
        webrowset.connectDataInput(union.getDataOutput());
        DeliverToRequestStatus deliver = new DeliverToRequestStatus();
        deliver.connectInput(webrowset.getResultOutput());
        PipelineWorkflow workflow = new PipelineWorkflow();
View Full Code Here

TOP

Related Classes of eu.admire.ogsadai.client.toolkit.activity.statistics.ReplaceWithValue

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.