com.avaje.ebean.config.dbplatform
Class RowNumberSqlLimiter

java.lang.Object
  extended by com.avaje.ebean.config.dbplatform.RowNumberSqlLimiter
All Implemented Interfaces:
SqlLimiter

public class RowNumberSqlLimiter
extends Object

    
implements SqlLimiter

    

Adds the ROW_NUMBER() OVER function to a query.


Field Summary
 
Fields inherited from interface com.avaje.ebean.config.dbplatform.SqlLimiter
CARRIAGE_RETURN, NEW_LINE
 
Constructor Summary
RowNumberSqlLimiter()
           
RowNumberSqlLimiter(String rowNumberWindowAlias)
          Specify the name of the rowNumberWindowAlias.
 
Method Summary
 SqlLimitResponse limit(SqlLimitRequest request)
          Add the SQL limiting statements around the query.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowNumberSqlLimiter

public RowNumberSqlLimiter(String rowNumberWindowAlias)
Specify the name of the rowNumberWindowAlias.


RowNumberSqlLimiter

public RowNumberSqlLimiter()
Method Detail

limit

public SqlLimitResponse limit(SqlLimitRequest request)
Description copied from interface: SqlLimiter
Add the SQL limiting statements around the query.

Specified by:
limit in interface SqlLimiter


Copyright © 2010. All Rights Reserved.