Class Limit

java.lang.Object
org.hibernate.query.spi.Limit

public class Limit extends Object
Paging limits
  • Field Details

    • NONE

      public static final Limit NONE
      Singleton access for "no limit"
  • Constructor Details

    • Limit

      public Limit()
    • Limit

      public Limit(Integer firstRow, Integer maxRows)
  • Method Details

    • isEmpty

      public boolean isEmpty()
    • makeCopy

      public Limit makeCopy()
    • getFirstRow

      public Integer getFirstRow()
    • getFirstRowJpa

      public int getFirstRowJpa()
    • setFirstRow

      public void setFirstRow(Integer firstRow)
    • getMaxRows

      public Integer getMaxRows()
    • getMaxRowsJpa

      public int getMaxRowsJpa()
    • setMaxRows

      public void setMaxRows(int maxRows)
    • setMaxRows

      public void setMaxRows(Integer maxRows)
    • isCompatible

      public boolean isCompatible(Limit limit)