com.avaje.ebean.config.dbplatform
Class RownumSqlLimiter
java.lang.Object
com.avaje.ebean.config.dbplatform.RownumSqlLimiter
- All Implemented Interfaces:
- SqlLimiter
public class RownumSqlLimiter
- extends Object
- implements SqlLimiter
Add ROWNUM column etc around SQL query to limit results.
Constructor Summary |
RownumSqlLimiter()
Create with default inner rownum column alias and used FIRST_ROWS hint. |
RownumSqlLimiter(String rnum,
boolean useFirstRowsHint)
Specify the inner rownum column alias and whether to include
the FIRST_ROWS hint. |
RownumSqlLimiter
public RownumSqlLimiter()
- Create with default inner rownum column alias and used FIRST_ROWS hint.
RownumSqlLimiter
public RownumSqlLimiter(String rnum,
boolean useFirstRowsHint)
- Specify the inner rownum column alias and whether to include
the FIRST_ROWS hint.
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.