Examples of deriveWithQueryData()


Examples of org.pentaho.reporting.engine.classic.core.states.datarow.GlobalMasterRow.deriveWithQueryData()

    // second run. Now with padding ..
    final ProcessingContext prc = new DefaultProcessingContext();
    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"));
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.states.datarow.GlobalMasterRow.deriveWithQueryData()

  {
    final ProcessingContext prc = new DefaultProcessingContext();
    final GlobalMasterRow gmr = GlobalMasterRow.createReportRow
        (prc, new DefaultDataSchemaDefinition(), new ParameterDataRow(), null, false);
    final TableModel data = createTableModel();
    MasterDataRow wdata = gmr.deriveWithQueryData(new ReportDataRow(data));
    final CrosstabSpecification cs = new SortedMergeCrosstabSpecification
        (createDummyKey(), new String[]{"Product", "Time"});
    int advanceCount = 0;
    System.out.println(wdata.getReportDataRow().getCursor());
    cs.startRow();
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.states.datarow.GlobalMasterRow.deriveWithQueryData()

    // second run. Now with padding ..
    final ProcessingContext prc = new DefaultProcessingContext();
    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"));
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.states.datarow.GlobalMasterRow.deriveWithQueryData()

    // second run. Now with padding ..
    final ProcessingContext prc = new DefaultProcessingContext();
    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"));
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.states.datarow.GlobalMasterRow.deriveWithQueryData()

  {
    final ProcessingContext prc = new DefaultProcessingContext();
    final GlobalMasterRow gmr = GlobalMasterRow.createReportRow
        (prc, new DefaultDataSchemaDefinition(), new ParameterDataRow());
    gmr.requireStructuralProcessing();
    MasterDataRow masterDataRow = gmr.deriveWithQueryData(data);
    final CrosstabSpecification crosstabSpecification = new SortedMergeCrosstabSpecification
        (new ReportStateKey(), new String[]{"Product", "Time"}, new String[] {"Region"});

    int advanceCount = 0;
    logger.debug("Building Crosstab: Cursor: " + String.valueOf(masterDataRow.getReportDataRow().getCursor()));
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.states.datarow.GlobalMasterRow.deriveWithQueryData()

    // second run. Now with padding ..
    final ProcessingContext prc = new DefaultProcessingContext();
    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"));
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.