S
- the type of the slice.T
- the type of the paginated object.public interface LimitPicker<S extends Slice<T>,T> extends SpecificationPicker<S,T>
Paginator
DSL allowing to specify a limit on the number of objects
returned, in the case of an offset-based pagination.Modifier and Type | Method and Description |
---|---|
SpecificationPicker<S,T> |
limit(long limit)
Specify a limit on the number of objects returned.
|
all, matching
SpecificationPicker<S,T> limit(long limit)
limit
- the limit.Copyright © 2013-2018–2019 SeedStack. All rights reserved.