private void addCommonCacheKeyParts ( StringBuilder builder ) { builder . append ( "kind=" ) . append ( getKind ( ) ) ; List < FilterPredicate > predicates = query . getFilterPredicates ( ) ; if ( predicates . size ( ) > 0 ) { builder . append ( ",pred=" ) . append ( predicates ) ; } }
Add cache key parts that are common to query data and query count .