Interface AggregationConstraint.Builder

    • Method Detail

      • columnName

        AggregationConstraint.Builder columnName​(String columnName)

        Column in aggregation constraint for which there must be a minimum number of distinct values in an output row for it to be in the query output.

        Parameters:
        columnName - Column in aggregation constraint for which there must be a minimum number of distinct values in an output row for it to be in the query output.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • minimum

        AggregationConstraint.Builder minimum​(Integer minimum)

        The minimum number of distinct values that an output row must be an aggregation of. Minimum threshold of distinct values for a specified column that must exist in an output row for it to be in the query output.

        Parameters:
        minimum - The minimum number of distinct values that an output row must be an aggregation of. Minimum threshold of distinct values for a specified column that must exist in an output row for it to be in the query output.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        AggregationConstraint.Builder type​(String type)

        The type of aggregation the constraint allows. The only valid value is currently `COUNT_DISTINCT`.

        Parameters:
        type - The type of aggregation the constraint allows. The only valid value is currently `COUNT_DISTINCT`.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AggregationType, AggregationType
      • type

        AggregationConstraint.Builder type​(AggregationType type)

        The type of aggregation the constraint allows. The only valid value is currently `COUNT_DISTINCT`.

        Parameters:
        type - The type of aggregation the constraint allows. The only valid value is currently `COUNT_DISTINCT`.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AggregationType, AggregationType