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

  • 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's 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? V - type of cached result items O - type of raw values that we are searching for QK, QR - customized query keys / values After refactoring, this class contains almost nothing ;) Consider removing it altogether.