Package io.ebeaninternal.api
Class CacheIdLookup<T>
- java.lang.Object
-
- io.ebeaninternal.api.CacheIdLookup<T>
-
public class CacheIdLookup<T> extends Object
Used for bean cache lookup with where ids in expression.
-
-
Constructor Summary
Constructors Constructor Description CacheIdLookup(IdInExpression idInExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allHits()
Collection<?>
idValues()
Return the Id values for the in expression.List<T>
removeHits(BeanCacheResult<T> cacheResult)
Process the hits returning the beans fetched from cache and adjusting the in expression (to not fetch the hits).
-
-
-
Constructor Detail
-
CacheIdLookup
public CacheIdLookup(IdInExpression idInExpression)
-
-
Method Detail
-
idValues
public Collection<?> idValues()
Return the Id values for the in expression.
-
removeHits
public List<T> removeHits(BeanCacheResult<T> cacheResult)
Process the hits returning the beans fetched from cache and adjusting the in expression (to not fetch the hits).
-
allHits
public boolean allHits()
-
-