Examples of startCrosstabMode()


Examples of org.pentaho.reporting.engine.classic.core.states.datarow.MasterDataRow.startCrosstabMode()

    final GlobalMasterRow gmr = GlobalMasterRow.createReportRow
        (prc, new DefaultDataSchemaDefinition(), new ParameterDataRow(), null, false);
    final TableModel data = createTableModel();
    MasterDataRow wdata = gmr.deriveWithQueryData(new ReportDataRow(data));
    int advanceCount = 0;
    wdata = wdata.startCrosstabMode(specification);
    logger.debug("Region:  " + wdata.getGlobalView().get("Region"));
    logger.debug("Product: " + wdata.getGlobalView().get("Product"));
    logger.debug("Year:    " + wdata.getGlobalView().get("Time"));
    Object grpVal = wdata.getGlobalView().get("Region");
    while (wdata.isAdvanceable())
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.states.datarow.MasterDataRow.startCrosstabMode()

    final GlobalMasterRow gmr = GlobalMasterRow.createReportRow
        (prc, new DefaultDataSchemaDefinition(), new ParameterDataRow());
    gmr.requireStructuralProcessing();
    MasterDataRow wdata = gmr.deriveWithQueryData(data);
    int advanceCount = 1;
    wdata = wdata.startCrosstabMode(specification);
    logger.debug("Rows:  " + wdata.getGlobalView().get("Rows"));
    logger.debug("Cols:  " + wdata.getGlobalView().get("Cols"));
    logger.debug("Data: " + wdata.getGlobalView().get("Data"));

    Assert.assertEquals(valData[0][0], wdata.getGlobalView().get("Rows"));
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.states.datarow.MasterDataRow.startCrosstabMode()

    final GlobalMasterRow gmr = GlobalMasterRow.createReportRow
        (prc, new DefaultDataSchemaDefinition(), new ParameterDataRow());
    gmr.requireStructuralProcessing();
    MasterDataRow wdata = gmr.deriveWithQueryData(data);
    int advanceCount = 1;
    wdata = wdata.startCrosstabMode(specification);
    logger.debug("Region:  " + wdata.getGlobalView().get("Region"));
    logger.debug("Product: " + wdata.getGlobalView().get("Product"));
    logger.debug("Year:    " + wdata.getGlobalView().get("Time"));
    assertEquals(valData[0][0], wdata.getGlobalView().get("Region"));
    assertEquals(valData[0][1], wdata.getGlobalView().get("Product"));
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.states.datarow.MasterDataRow.startCrosstabMode()

    final GlobalMasterRow gmr = GlobalMasterRow.createReportRow
        (prc, new DefaultDataSchemaDefinition(), new ParameterDataRow());
    gmr.requireStructuralProcessing();
    MasterDataRow wdata = gmr.deriveWithQueryData(data);
    int advanceCount = 1;
    wdata = wdata.startCrosstabMode(specification);
    logger.debug("Rows:  " + wdata.getGlobalView().get("Rows"));
    logger.debug("Cols:  " + wdata.getGlobalView().get("Cols"));
    logger.debug("Data: " + wdata.getGlobalView().get("Data"));

    assertEquals(valData[0][0], wdata.getGlobalView().get("Rows"));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.