Interface AsSearchProfileCalculationStrategy<T extends AbstractAsSearchProfile>

Type Parameters:
T - - the type of search profile data
All Superinterfaces:
AsCacheAwareStrategy<T>
All Known Implementing Classes:
AbstractAsSearchProfileCalculationStrategy, AsGenericSearchProfileCalculationStrategy

public interface AsSearchProfileCalculationStrategy<T extends AbstractAsSearchProfile> extends AsCacheAwareStrategy<T>
Strategy for calculating search profiles.
  • Method Details

    • calculate

      AsSearchProfileResult calculate(AsSearchProfileContext context, T searchProfile)
      Calculates the search profile result for a given search profile data object. The returned value can be cached.
      Parameters:
      context - - the search profile context
      searchProfile - - the search profile data
      Returns:
      the search profile result
    • map

      Allows additional processing on the search profile result. This method should not modify the given search profile result. The returned value should not be cached.
      Parameters:
      context - - the search profile context
      result - - the search profile result
      Returns:
      the new search profile result