Interface RelativeDatesFilter.Builder

    • Method Detail

      • filterId

        RelativeDatesFilter.Builder filterId​(String filterId)

        An identifier that uniquely identifies a filter within a dashboard, analysis, or template.

        Parameters:
        filterId - An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • column

        RelativeDatesFilter.Builder column​(ColumnIdentifier column)

        The column that the filter is applied to.

        Parameters:
        column - The column that the filter is applied to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • anchorDateConfiguration

        RelativeDatesFilter.Builder anchorDateConfiguration​(AnchorDateConfiguration anchorDateConfiguration)

        The date configuration of the filter.

        Parameters:
        anchorDateConfiguration - The date configuration of the filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • minimumGranularity

        RelativeDatesFilter.Builder minimumGranularity​(String minimumGranularity)

        The minimum granularity (period granularity) of the relative dates filter.

        Parameters:
        minimumGranularity - The minimum granularity (period granularity) of the relative dates filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TimeGranularity, TimeGranularity
      • minimumGranularity

        RelativeDatesFilter.Builder minimumGranularity​(TimeGranularity minimumGranularity)

        The minimum granularity (period granularity) of the relative dates filter.

        Parameters:
        minimumGranularity - The minimum granularity (period granularity) of the relative dates filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TimeGranularity, TimeGranularity
      • timeGranularity

        RelativeDatesFilter.Builder timeGranularity​(String timeGranularity)

        The level of time precision that is used to aggregate DateTime values.

        Parameters:
        timeGranularity - The level of time precision that is used to aggregate DateTime values.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TimeGranularity, TimeGranularity
      • timeGranularity

        RelativeDatesFilter.Builder timeGranularity​(TimeGranularity timeGranularity)

        The level of time precision that is used to aggregate DateTime values.

        Parameters:
        timeGranularity - The level of time precision that is used to aggregate DateTime values.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TimeGranularity, TimeGranularity
      • relativeDateType

        RelativeDatesFilter.Builder relativeDateType​(String relativeDateType)

        The range date type of the filter. Choose one of the options below:

        • PREVIOUS

        • THIS

        • LAST

        • NOW

        • NEXT

        Parameters:
        relativeDateType - The range date type of the filter. Choose one of the options below:

        • PREVIOUS

        • THIS

        • LAST

        • NOW

        • NEXT

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

        RelativeDatesFilter.Builder relativeDateType​(RelativeDateType relativeDateType)

        The range date type of the filter. Choose one of the options below:

        • PREVIOUS

        • THIS

        • LAST

        • NOW

        • NEXT

        Parameters:
        relativeDateType - The range date type of the filter. Choose one of the options below:

        • PREVIOUS

        • THIS

        • LAST

        • NOW

        • NEXT

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

        RelativeDatesFilter.Builder relativeDateValue​(Integer relativeDateValue)

        The date value of the filter.

        Parameters:
        relativeDateValue - The date value of the filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parameterName

        RelativeDatesFilter.Builder parameterName​(String parameterName)

        The parameter whose value should be used for the filter value.

        Parameters:
        parameterName - The parameter whose value should be used for the filter value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nullOption

        RelativeDatesFilter.Builder nullOption​(String nullOption)

        This option determines how null values should be treated when filtering data.

        • ALL_VALUES: Include null values in filtered results.

        • NULLS_ONLY: Only include null values in filtered results.

        • NON_NULLS_ONLY: Exclude null values from filtered results.

        Parameters:
        nullOption - This option determines how null values should be treated when filtering data.

        • ALL_VALUES: Include null values in filtered results.

        • NULLS_ONLY: Only include null values in filtered results.

        • NON_NULLS_ONLY: Exclude null values from filtered results.

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

        RelativeDatesFilter.Builder nullOption​(FilterNullOption nullOption)

        This option determines how null values should be treated when filtering data.

        • ALL_VALUES: Include null values in filtered results.

        • NULLS_ONLY: Only include null values in filtered results.

        • NON_NULLS_ONLY: Exclude null values from filtered results.

        Parameters:
        nullOption - This option determines how null values should be treated when filtering data.

        • ALL_VALUES: Include null values in filtered results.

        • NULLS_ONLY: Only include null values in filtered results.

        • NON_NULLS_ONLY: Exclude null values from filtered results.

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

        RelativeDatesFilter.Builder excludePeriodConfiguration​(ExcludePeriodConfiguration excludePeriodConfiguration)

        The configuration for the exclude period of the filter.

        Parameters:
        excludePeriodConfiguration - The configuration for the exclude period of the filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.