Package org.pentaho.reporting.engine.classic.core.function

Examples of org.pentaho.reporting.engine.classic.core.function.PageItemSumFunction


    for (int i = 0; i < 1000; i += 1)
    {
      model.addRow(new Object[]{"K1", Integer.valueOf(1)});
    }

    final PageItemSumFunction itemSumFunction = new PageItemSumFunction();
    itemSumFunction.setField("value");
    itemSumFunction.setName("fn");

    final MasterReport report = new MasterReport();
    report.setQuery("test");
    report.setDataFactory(new TableDataFactory(report.getQuery(), model));
    report.addExpression(itemSumFunction);
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.function.PageItemSumFunction

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.