Package org.hibernate.query
Class Limit
- java.lang.Object
-
- org.hibernate.query.Limit
-
public class Limit extends Object
Paging limits
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetFirstRow()intgetFirstRowJpa()IntegergetMaxRows()intgetMaxRowsJpa()booleanisCompatible(Limit limit)booleanisEmpty()LimitmakeCopy()voidsetFirstRow(Integer firstRow)voidsetMaxRows(int maxRows)voidsetMaxRows(Integer maxRows)
-
-
-
Field Detail
-
NONE
public static final Limit NONE
Singleton access for "no limit"
-
-
Method Detail
-
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)
-
-