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

  • Method Details

    • isEmpty

      public boolean isEmpty()
    • makeCopy

      public Limit makeCopy()
    • getFirstRow

      @Nullable public Integer getFirstRow()
    • getFirstRowJpa

      public int getFirstRowJpa()
    • setFirstRow

      public void setFirstRow(@Nullable Integer firstRow)
    • getMaxRows

      @Nullable public Integer getMaxRows()
    • getMaxRowsJpa

      public int getMaxRowsJpa()
    • setMaxRows

      public void setMaxRows(int maxRows)
    • setMaxRows

      public void setMaxRows(@Nullable Integer maxRows)
    • isCompatible

      public boolean isCompatible(Limit limit)