Package org.hibernate.query.spi
Class Limit
java.lang.Object
org.hibernate.query.spi.Limit
Paging limits
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintbooleanisCompatible(Limit limit) booleanisEmpty()makeCopy()voidsetFirstRow(Integer firstRow) voidsetMaxRows(int maxRows) voidsetMaxRows(Integer maxRows)
-
Field Details
-
NONE
Singleton access for "no limit"
-
-
Constructor Details
-
Limit
public Limit() -
Limit
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
makeCopy
-
getFirstRow
-
getFirstRowJpa
public int getFirstRowJpa() -
setFirstRow
-
getMaxRows
-
getMaxRowsJpa
public int getMaxRowsJpa() -
setMaxRows
public void setMaxRows(int maxRows) -
setMaxRows
-
isCompatible
-