Interface ResultRow.Builder

    • Method Detail

      • groupedBys

        ResultRow.Builder groupedBys​(Collection<ResultRowValue> groupedBys)

        An array of objects that defines the field and field values that were used to group data in a result set that contains multiple results. This value is null if the data in a result set isn’t grouped.

        Parameters:
        groupedBys - An array of objects that defines the field and field values that were used to group data in a result set that contains multiple results. This value is null if the data in a result set isn’t grouped.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupedBys

        ResultRow.Builder groupedBys​(ResultRowValue... groupedBys)

        An array of objects that defines the field and field values that were used to group data in a result set that contains multiple results. This value is null if the data in a result set isn’t grouped.

        Parameters:
        groupedBys - An array of objects that defines the field and field values that were used to group data in a result set that contains multiple results. This value is null if the data in a result set isn’t grouped.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupedBys

        ResultRow.Builder groupedBys​(Consumer<ResultRowValue.Builder>... groupedBys)

        An array of objects that defines the field and field values that were used to group data in a result set that contains multiple results. This value is null if the data in a result set isn’t grouped.

        This is a convenience method that creates an instance of the ResultRowValue.Builder avoiding the need to create one manually via ResultRowValue.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #groupedBys(List).

        Parameters:
        groupedBys - a consumer that will call methods on ResultRowValue.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #groupedBys(java.util.Collection)
      • values

        ResultRow.Builder values​(Collection<ResultRowValue> values)

        An array of objects that provides pre-aggregated values for a standard metric that applies to an application, campaign, or journey.

        Parameters:
        values - An array of objects that provides pre-aggregated values for a standard metric that applies to an application, campaign, or journey.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • values

        ResultRow.Builder values​(ResultRowValue... values)

        An array of objects that provides pre-aggregated values for a standard metric that applies to an application, campaign, or journey.

        Parameters:
        values - An array of objects that provides pre-aggregated values for a standard metric that applies to an application, campaign, or journey.
        Returns:
        Returns a reference to this object so that method calls can be chained together.