Class Paging


  • public class Paging
    extends Object
    Paging of ExecutionResult. Represents paging in multiple dimensions.
    • Constructor Detail

      • Paging

        public Paging()
        Creates new paging
      • Paging

        public Paging​(List<Integer> count,
                      List<Integer> offset,
                      List<Integer> total)
        Creates new paging
        Parameters:
        count - multiple dimensions count
        offset - multiple dimensions offset
        total - multiple dimensions total
    • Method Detail

      • getCount

        public List<Integer> getCount()
        Returns:
        multiple dimensions count
      • getOffset

        public List<Integer> getOffset()
        Returns:
        multiple dimensions offset
      • getTotal

        public List<Integer> getTotal()
        Returns:
        multiple dimensions total
      • count

        public Paging count​(int... count)
        Sets count compound of given elements, each element per dimension
        Parameters:
        count - count elements
        Returns:
        this
      • total

        public Paging total​(int... total)
        Sets size compound of given elements, each element per dimension
        Parameters:
        total - size elements
        Returns:
        this
      • offset

        public Paging offset​(int... offset)
        Sets size compound of given elements, each element per dimension
        Parameters:
        offset - size elements
        Returns:
        this