A - the aggregate root type that is paginated.I - the aggregate root identifier type.public interface KeyValuePicker<A extends AggregateRoot<I>,I>
Paginator DSL allowing to specify the value used as boundary in the
case of a key-based pagination.| Modifier and Type | Method and Description |
|---|---|
<T extends Comparable<? super T>> |
after(T value)
Specify the value used as lower-boundary of the previously specified attribute.
|
<T extends Comparable<? super T>> |
before(T value)
Specify the value used as upper-boundary of the previously specified attribute.
|
<T extends Comparable<? super T>> LimitPicker<Slice<A>,A,I> before(T value)
T - the type of the value.value - the value used as upper-boundary.<T extends Comparable<? super T>> LimitPicker<Slice<A>,A,I> after(T value)
T - the type of the value.value - the value used as lower-boundary.Copyright © 2013-2017–2017 SeedStack. All rights reserved.