class SearchResultsSetImpl implements SearchResultsSet {

    @Nonnull
    @Override
    public List<SearchAggregation> getAppliedAggregations() {
        return searchAggregations
            .stream()
            .filter(searchAggregation -> searchAggregation.getAppliedFilterValue().isPresent())
            .collect(Collectors.toList());
    }

}