Top Description Fields Constructors Methods
org.hibernate.query.spi

public Class Limit

extends Object
Class Inheritance
Known Direct Subclasses
org.hibernate.engine.jdbc.mutation.internal.MutationQueryOptions.LimitImpl

Paging limits
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private Integer
private Integer
public static final Limit
NONE

Singleton access for "no limit"

Constructor Summary

AccessConstructor and Description
public
public
Limit(Integer firstRow, Integer maxRows)

Method Summary

Modifier and TypeMethod and Description
public Integer
public int
public Integer
public int
public boolean
public boolean
public Limit
public void
setFirstRow(Integer firstRow)

public void
setMaxRows(int maxRows)

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

firstRowback to summary
private Integer firstRow
maxRowsback to summary
private Integer maxRows
NONEback to summary
public static final Limit NONE

Singleton access for "no limit"

Constructor Detail

Limitback to summary
public Limit()
Limitback to summary
public Limit(Integer firstRow, Integer maxRows)

Method Detail

getFirstRowback to summary
public Integer getFirstRow()
getFirstRowJpaback to summary
public int getFirstRowJpa()
getMaxRowsback to summary
public Integer getMaxRows()
getMaxRowsJpaback to summary
public int getMaxRowsJpa()
isCompatibleback to summary
public boolean isCompatible(Limit limit)
isEmptyback to summary
public boolean isEmpty()
makeCopyback to summary
public Limit makeCopy()
setFirstRowback to summary
public void setFirstRow(Integer firstRow)
setMaxRowsback to summary
public void setMaxRows(int maxRows)
setMaxRowsback to summary
public void setMaxRows(Integer maxRows)