Interface CategoryDefinition.SearchResonseForCountSupplier

    • Method Detail

      • apply

        java.util.Optional<SearchResponse> apply​(CategoryDefinition categoryDefinition,
                                                 java.lang.String value)
        Given a category definition and a value (e.g. 'David Hawking', '1', etc) this will return the SearchResponse to use to get counts (the number of results returned if the value is selected).
        Specified by:
        apply in interface java.util.function.BiFunction<CategoryDefinition,​java.lang.String,​java.util.Optional<SearchResponse>>