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

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


            resource = args[1];
        }
        SQLQuery query = new SQLQuery();
        query.setResourceID(resource);
        query.addExpression("SELECT * FROM replace_values");
        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());
View Full Code Here

TOP

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

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.