Class Paging


  • public class Paging
    extends java.lang.Object
    Paging of ExecutionResult. Represents paging in multiple dimensions.
    • Constructor Summary

      Constructors 
      Constructor Description
      Paging()
      Creates new paging
      Paging​(java.util.List<java.lang.Integer> count, java.util.List<java.lang.Integer> offset, java.util.List<java.lang.Integer> total)
      Creates new paging
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Paging count​(int... count)
      Sets count compound of given elements, each element per dimension
      java.util.List<java.lang.Integer> getCount()  
      java.util.List<java.lang.Integer> getOffset()  
      java.util.List<java.lang.Integer> getTotal()  
      Paging offset​(int... offset)
      Sets size compound of given elements, each element per dimension
      java.lang.String toString()  
      Paging total​(int... total)
      Sets size compound of given elements, each element per dimension
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Paging

        public Paging()
        Creates new paging
      • Paging

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

      • getCount

        public java.util.List<java.lang.Integer> getCount()
        Returns:
        multiple dimensions count
      • getOffset

        public java.util.List<java.lang.Integer> getOffset()
        Returns:
        multiple dimensions offset
      • getTotal

        public java.util.List<java.lang.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
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object