Interface SearchAggregationOption

  • All Known Implementing Classes:
    SearchAggregationOptionImpl

    @ConsumerType
    public interface SearchAggregationOption
    Represents an aggregation option.
    • Method Detail

      • getFilterValue

        @Nonnull
        String getFilterValue()
        Get the filter value for a aggregation option.
        Returns:
        the filter value
      • getDisplayLabel

        @Nonnull
        String getDisplayLabel()
        Get the display label for a aggregation option.
        Returns:
        the display label for the aggregation option
      • getCount

        @Nonnull
        int getCount()
        Get the number of results for this particular aggregation option.
        Returns:
        the product count for this aggregation option
      • getAddFilterMap

        @Nonnull
        Map<String,​String> getAddFilterMap()
        Get the key value map for this aggregation option.
        Returns:
        key value for this aggregation option