Uses of Record Class
jakarta.data.Limit
-
Uses of Limit in jakarta.data
Modifier and TypeMethodDescriptionstatic Limit
Limit.of
(int maxResults) Create a limit that caps the number of results at the specified maximum, starting from the first result.static Limit
Limit.range
(long startAt, long endAt) Create a limit that restricts the results to a range, beginning with thestartAt
position and ending after theendAt
position or the position of the final result, whichever comes first.