com.avaje.ebean.config.dbplatform
Class SqlAnywhereLimiter

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

public class SqlAnywhereLimiter
extends Object
implements SqlLimiter

Use top xx and start at xx to limit sql results. Based on MsSqlServer2005SqlLimiter and LimitOffsetSqlLimiter


Field Summary
 
Fields inherited from interface com.avaje.ebean.config.dbplatform.SqlLimiter
CARRIAGE_RETURN, NEW_LINE
 
Constructor Summary
SqlAnywhereLimiter()
           
 
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

SqlAnywhereLimiter

public SqlAnywhereLimiter()
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 © 2012. All Rights Reserved.