接口 CacheableFilter<P extends Props>

类型参数:
P - The EntityProps type generated by apt
所有超级接口:
Filter<P>, org.babyfish.jimmer.sql.cache.PropCacheInvalidator
所有已知子接口:
ShardingCacheableFilter<P>

public interface CacheableFilter<P extends Props> extends Filter<P>, org.babyfish.jimmer.sql.cache.PropCacheInvalidator
Global filter which can work with multi-view cache for java, Kotlin developer should use `KCacheableFilter<E>`
  • 方法概要

    修饰符和类型
    方法
    说明
    Return the sub keys of association cache for multi-view cache
    default void
     
    boolean
    Is the association cache affected by the change of CURRENT table?

    从接口继承的方法 org.babyfish.jimmer.sql.filter.Filter

    filter

    从接口继承的方法 org.babyfish.jimmer.sql.cache.PropCacheInvalidator

    getAffectedSourceIds, getAffectedSourceIds
  • 方法详细资料

    • getParameters

      SortedMap<String,Object> getParameters()
      Return the sub keys of association cache for multi-view cache
      返回:
      The sub key map
      另请参阅:
    • isAffectedBy

      boolean isAffectedBy(EntityEvent<?> e)
      Is the association cache affected by the change of CURRENT table?
      参数:
      e - The change event of CURRENT table
      返回:
      Whether the association cache should be affected
    • initialize

      default void initialize(JSqlClient sqlClient)
      参数:
      sqlClient -