FileDocCategorySizeDatePackage
RowSelection.javaAPI DocHibernate 3.2.5984Thu Feb 16 15:51:00 GMT 2006org.hibernate.engine

RowSelection

public final class RowSelection extends Object
Represents a selection of rows in a JDBC ResultSet
author
Gavin King

Fields Summary
private Integer
firstRow
private Integer
maxRows
private Integer
timeout
private Integer
fetchSize
Constructors Summary
Methods Summary
public booleandefinesLimits()

		return maxRows != null ||
	           ( firstRow != null && firstRow.intValue() <= 0 );
	
public java.lang.IntegergetFetchSize()

		return fetchSize;
	
public java.lang.IntegergetFirstRow()

		return firstRow;
	
public java.lang.IntegergetMaxRows()

		return maxRows;
	
public java.lang.IntegergetTimeout()

		return timeout;
	
public voidsetFetchSize(java.lang.Integer fetchSize)

		this.fetchSize = fetchSize;
	
public voidsetFirstRow(java.lang.Integer firstRow)

		this.firstRow = firstRow;
	
public voidsetMaxRows(java.lang.Integer maxRows)

		this.maxRows = maxRows;
	
public voidsetTimeout(java.lang.Integer timeout)

		this.timeout = timeout;