ReportResults Class

Contains the results of running a report.

Reports

The following are methods for ReportResults. All are instance methods.

  • getAllData()

    Returns all report data.

  • getFactMap()

    Returns summary-level data or summary and detailed data for each row or column grouping. Detailed data is available if the includeDetails parameter is set to true when the report is run.

  • getGroupingsAcross()

    Returns a collection of column groupings, keys, and values.

  • getGroupingsDown()

    Returns a collection of row groupings, keys, and values.

  • getHasDetailRows()

    Returns information about whether the fact map has detail rows.

  • getReportExtendedMetadata()

    Returns additional, detailed metadata about the report, including data type and label information for groupings and summaries.

  • getReportMetadata()

    Returns metadata about the report, including grouping and summary information.

Returns all report data.

public Boolean getAllData()

Type: Boolean

When true, indicates that all report results are returned.

When false, indicates that results are returned for the same number of rows as in a report run in Salesforce.

For reports that contain too many records, use filters to refine results.

Returns summary-level data or summary and detailed data for each row or column grouping. Detailed data is available if the includeDetails parameter is set to true when the report is run.

public MAP<String,Reports.ReportFact> getFactMap()

Type: Map<String,Reports.ReportFact>

Returns a collection of column groupings, keys, and values.

public Reports.Dimension getGroupingsAcross()

Type: Reports.Dimension

Returns a collection of row groupings, keys, and values.

public Reports.Dimension getGroupingsDown()

Type: Reports.Dimension

Returns information about whether the fact map has detail rows.

public Boolean getHasDetailRows()

Type: Boolean

  • When true, indicates that the fact map returns values for summary-level and record-level data.
  • When false, indicates that the fact map returns summary values.

Returns additional, detailed metadata about the report, including data type and label information for groupings and summaries.

public Reports.ReportExtendedMetadata getReportExtendedMetadata()

Type: Reports.ReportExtendedMetadata

Returns metadata about the report, including grouping and summary information.

public Reports.ReportMetadata getReportMetadata()

Type: Reports.ReportMetadata