Interface TopicNumericRangeFilter.Builder

    • Method Detail

      • inclusive

        TopicNumericRangeFilter.Builder inclusive​(Boolean inclusive)

        A Boolean value that indicates whether the endpoints of the numeric range are included in the filter. If set to true, topics whose numeric field value is equal to the endpoint values will be included in the filter. If set to false, topics whose numeric field value is equal to the endpoint values will be excluded from the filter.

        Parameters:
        inclusive - A Boolean value that indicates whether the endpoints of the numeric range are included in the filter. If set to true, topics whose numeric field value is equal to the endpoint values will be included in the filter. If set to false, topics whose numeric field value is equal to the endpoint values will be excluded from the filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • constant

        TopicNumericRangeFilter.Builder constant​(TopicRangeFilterConstant constant)

        The constant used in a numeric range filter.

        Parameters:
        constant - The constant used in a numeric range filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • aggregation

        TopicNumericRangeFilter.Builder aggregation​(String aggregation)

        An aggregation function that specifies how to calculate the value of a numeric field for a topic, Valid values for this structure are NO_AGGREGATION, SUM, AVERAGE, COUNT, DISTINCT_COUNT, MAX, MEDIAN, MIN, STDEV, STDEVP, VAR, and VARP.

        Parameters:
        aggregation - An aggregation function that specifies how to calculate the value of a numeric field for a topic, Valid values for this structure are NO_AGGREGATION, SUM, AVERAGE, COUNT, DISTINCT_COUNT, MAX, MEDIAN, MIN, STDEV, STDEVP, VAR, and VARP.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        NamedFilterAggType, NamedFilterAggType
      • aggregation

        TopicNumericRangeFilter.Builder aggregation​(NamedFilterAggType aggregation)

        An aggregation function that specifies how to calculate the value of a numeric field for a topic, Valid values for this structure are NO_AGGREGATION, SUM, AVERAGE, COUNT, DISTINCT_COUNT, MAX, MEDIAN, MIN, STDEV, STDEVP, VAR, and VARP.

        Parameters:
        aggregation - An aggregation function that specifies how to calculate the value of a numeric field for a topic, Valid values for this structure are NO_AGGREGATION, SUM, AVERAGE, COUNT, DISTINCT_COUNT, MAX, MEDIAN, MIN, STDEV, STDEVP, VAR, and VARP.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        NamedFilterAggType, NamedFilterAggType