GroupingInfo Class

Contains methods for describing fields that are used for grouping.

Reports

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

  • getName()

    Returns the unique API name of the field or bucket field that is used for row or column grouping.

  • getSortOrder()

    Returns the order that is used to sort data in a row or column grouping (ASCENDING or DESCENDING).

  • getDateGranularity()

    Returns the date interval that is used for row or column grouping.

  • getSortAggregate()

    Returns the summary field that is used to sort data within a grouping in a summary report. The value is null when data within a grouping is not sorted by a summary field.

Returns the unique API name of the field or bucket field that is used for row or column grouping.

public String getName()

Type: String

Returns the order that is used to sort data in a row or column grouping (ASCENDING or DESCENDING).

public Reports.ColumnSortOrder getSortOrder()

Type: Reports.ColumnSortOrder

Returns the date interval that is used for row or column grouping.

public Reports.DateGranularity getDateGranularity()

Type: Reports.DateGranularity

Returns the summary field that is used to sort data within a grouping in a summary report. The value is null when data within a grouping is not sorted by a summary field.

public String getSortAggregate()

Type: String