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 theintermediate
predicates.Create an equals-comparison object.compare
(Sort.Order order, E propertyExpression, Object value) Create a comparison object according to theSort.Order
.createExpression
(String property) Create an expression object from the givenproperty
path.OR-combine theintermediate
predicates.
-
Method Details
-
createExpression
Create an expression object from the givenproperty
path.- 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 theintermediate
predicates.- Parameters:
intermediate
- the predicates to combine. Must not be null.- Returns:
- a single predicate.
-
or
OR-combine theintermediate
predicates.- Parameters:
intermediate
- the predicates to combine. Must not be null.- Returns:
- a single predicate.
-