Class AbstractSearchExpressionEvaluatorCache<V extends PrismValue,​O extends ObjectType,​QK extends QueryKey,​QR extends QueryResult<V>>

  • Type Parameters:
    V - type of cached result items
    O - type of raw values that we are searching for
    QK - query key
    QR - query result After refactoring, this class contains almost nothing ;) Consider removing it altogether.
    Direct Known Subclasses:
    AssociationSearchExpressionEvaluatorCache

    public abstract class AbstractSearchExpressionEvaluatorCache<V extends PrismValue,​O extends ObjectType,​QK extends QueryKey,​QR extends QueryResult<V>>
    extends AbstractThreadLocalCache
    Cache for search expression-based evaluators. It needs to be customized in the following ways: - what is in the query key besides basic data - namely, what parts of ExpressionEvaluationContext should be part of the key? - should we store anything in addition to the resulting list of values? E.g. shadow kind in case of `associationTargetSearch` that is used for invalidation?