ReportResults Class
Contains the results of running a report.
The following are methods for ReportResults. All are instance methods.
-
Returns all report data.
-
Returns summary-level data or summary and detailed data for each row or column grouping. Detailed data is available if the
includeDetailsparameter is set totruewhen the report is run. -
Returns a collection of column groupings, keys, and values.
-
Returns a collection of row groupings, keys, and values.
-
Returns information about whether the fact map has detail rows.
-
Returns additional, detailed metadata about the report, including data type and label information for groupings and summaries.
-
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