AggregateColumn Class

Contains methods for describing summary fields such as Record Count, Sum, Average, Max, Min, and custom summary formulas. Includes name, label, data type, and grouping context.

Reports

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

  • getName()

    Returns the unique API name of the summary field.

  • getLabel()

    Returns the localized display name for the summarized or custom summary formula field.

  • getDataType()

    Returns the data type of the summarized or custom summary formula field.

  • getAcrossGroupingContext()

    Returns the column grouping in the report where the summary field is displayed.

  • getDownGroupingContext()

    Returns the row grouping in the report where the summary field is displayed.

Returns the unique API name of the summary field.

public String getName()

Type: String

Returns the localized display name for the summarized or custom summary formula field.

public String getLabel()

Type: String

Returns the data type of the summarized or custom summary formula field.

public Reports.ColumnDataType getDataType()

Type: Reports.ColumnDataType

Returns the column grouping in the report where the summary field is displayed.

public String getAcrossGroupingContext()

Type: String

Returns the row grouping in the report where the summary field is displayed.

public String getDownGroupingContext()

Type: String