java.lang.Object
io.ebeaninternal.api.NaturalKeyQueryData<T>
Collects the data for processing the natural key cache processing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallHits()Return the number of entries in the IN clause left remaining (to hit the DB with).Build and return the set of natural keys we will use.booleanMatch for an EQ expression.booleanMatch for IN expression.matchInPairs(String property0, String property1, List<Pairs.Entry> inPairs) Match for In Pairs expression.removeHits(BeanCacheResult<T> cacheResult) Adjust the IN clause removing the hit entry.
-
Constructor Details
-
NaturalKeyQueryData
-
-
Method Details
-
matchInPairs
public List<Pairs.Entry> matchInPairs(String property0, String property1, List<Pairs.Entry> inPairs) Match for In Pairs expression. We only allow one IN clause. -
matchIn
Match for IN expression. We only allow one IN clause. -
matchEq
Match for an EQ expression. -
buildKeys
Build and return the set of natural keys we will use. -
allHits
public boolean allHits()Return the number of entries in the IN clause left remaining (to hit the DB with). -
removeHits
Adjust the IN clause removing the hit entry.
-