Class FilterAggregation

    • Field Detail

      • id

        protected final String id
    • Constructor Detail

      • FilterAggregation

        public FilterAggregation​(String id,
                                 ISearchQueryFilter filter)
        Creates a new filter aggregation.
        Parameters:
        id - the aggregation identifier.
        filter - the filter used to narrow down the documents.
        Since:
        11.0.0
    • Method Detail

      • getFilter

        public ISearchQueryFilter getFilter()
        Returns the filter.
        Returns:
        the filter.
        Since:
        11.0.0
      • getId

        public String getId()
        Description copied from interface: IAggregation
        Returns the aggregation identifier.
        Specified by:
        getId in interface IAggregation
        Returns:
        the aggregation identifier.