org.hibernate.dialect.pagination
Class LimitHelper

java.lang.Object
  extended by org.hibernate.dialect.pagination.LimitHelper

public class LimitHelper
extends Object


Constructor Summary
LimitHelper()
           
 
Method Summary
static int getFirstRow(RowSelection selection)
           
static boolean hasFirstRow(RowSelection selection)
           
static boolean hasMaxRows(RowSelection selection)
           
static boolean useLimit(LimitHandler limitHandler, RowSelection selection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LimitHelper

public LimitHelper()
Method Detail

useLimit

public static boolean useLimit(LimitHandler limitHandler,
                               RowSelection selection)

hasFirstRow

public static boolean hasFirstRow(RowSelection selection)

getFirstRow

public static int getFirstRow(RowSelection selection)

hasMaxRows

public static boolean hasMaxRows(RowSelection selection)


Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.