Interface KeysetScrollDelegate.QueryStrategy<E,P>
- Type Parameters:
E- property path expression type.P- predicate type.
- Enclosing class:
- KeysetScrollDelegate
public static interface KeysetScrollDelegate.QueryStrategy<E,P>
Adapter to construct scroll queries.
-
Method Summary
Modifier and TypeMethodDescriptionAND-combine theintermediatepredicates.Create an equals-comparison object.Create a comparison object according to theSort.Order.createExpression(String property) Create an expression object from the givenpropertypath.OR-combine theintermediatepredicates.
-
Method Details
-
createExpression
Create an expression object from the givenpropertypath.- Parameters:
property- must not be null.
-
compare
Create a comparison object according to theSort.Order.- Parameters:
order- must not be null.propertyExpression- must not be null.value- the value to compare with. Must not be null.- Returns:
- an object representing the comparison predicate.
-
compare
Create an equals-comparison object.- Parameters:
propertyExpression- must not be null.value- the value to compare with. Must not be null.- Returns:
- an object representing the comparison predicate.
-
and
AND-combine theintermediatepredicates.- Parameters:
intermediate- the predicates to combine. Must not be null.- Returns:
- a single predicate.
-
or
OR-combine theintermediatepredicates.- Parameters:
intermediate- the predicates to combine. Must not be null.- Returns:
- a single predicate.
-