Interface LimitedPagedRequest

All Known Implementing Classes:
LimitedPagedRequestImpl

@PublicApi public interface LimitedPagedRequest
A PagedRequest guaranteed to have a limit capped to a developer provided value rather than a user provided value. getLimit is restricted to the minimum of getMaxLimit and the user provided value. Does not support requesting unlimited result sets.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     
    int
    Index of the first item to include in the result set.
  • Method Details

    • getStart

      int getStart()
      Index of the first item to include in the result set.
    • getLimit

      int getLimit()
      Returns:
      the maximum results to fetch to attempt to fulfil the request
    • getMaxLimit

      int getMaxLimit()
      Returns:
      the maximum limit for this request