Package org.hibernate.query.spi
Class Limit
- java.lang.Object
-
- org.hibernate.query.spi.Limit
-
public class Limit extends Object
Paging limits
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getFirstRow()
int
getFirstRowJpa()
Integer
getMaxRows()
int
getMaxRowsJpa()
boolean
isCompatible(Limit limit)
boolean
isEmpty()
Limit
makeCopy()
void
setFirstRow(Integer firstRow)
void
setMaxRows(int maxRows)
void
setMaxRows(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)
-
-