Interface AggregateOperation.Builder

    • Method Detail

      • column

        AggregateOperation.Builder column​(Collection<String> column)

        Specifies the column on the data set on which the aggregation function will be applied.

        Parameters:
        column - Specifies the column on the data set on which the aggregation function will be applied.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • column

        AggregateOperation.Builder column​(String... column)

        Specifies the column on the data set on which the aggregation function will be applied.

        Parameters:
        column - Specifies the column on the data set on which the aggregation function will be applied.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • aggFunc

        AggregateOperation.Builder aggFunc​(String aggFunc)

        Specifies the aggregation function to apply.

        Possible aggregation functions include: avg countDistinct, count, first, last, kurtosis, max, min, skewness, stddev_samp, stddev_pop, sum, sumDistinct, var_samp, var_pop

        Parameters:
        aggFunc - Specifies the aggregation function to apply.

        Possible aggregation functions include: avg countDistinct, count, first, last, kurtosis, max, min, skewness, stddev_samp, stddev_pop, sum, sumDistinct, var_samp, var_pop

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AggFunction, AggFunction
      • aggFunc

        AggregateOperation.Builder aggFunc​(AggFunction aggFunc)

        Specifies the aggregation function to apply.

        Possible aggregation functions include: avg countDistinct, count, first, last, kurtosis, max, min, skewness, stddev_samp, stddev_pop, sum, sumDistinct, var_samp, var_pop

        Parameters:
        aggFunc - Specifies the aggregation function to apply.

        Possible aggregation functions include: avg countDistinct, count, first, last, kurtosis, max, min, skewness, stddev_samp, stddev_pop, sum, sumDistinct, var_samp, var_pop

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AggFunction, AggFunction