com.avaje.ebean.config.dbplatform
Interface SqlLimitRequest


public interface SqlLimitRequest

The request object for the query that can have sql limiting applied to it (such as a LIMIT OFFSET clause).

Author:
rob

Method Summary
 String getDbOrderBy()
          Return the orderBy clause of the sql query.
 DatabasePlatform getDbPlatform()
          return the database platform
 String getDbSql()
          Return the sql query.
 int getFirstRow()
          Return the first row value.
 int getMaxRows()
          Return the max rows for this query.
 com.avaje.ebeaninternal.api.SpiQuery<?> getOrmQuery()
          return the query
 boolean isDistinct()
          Return true if the query uses distinct.
 

Method Detail

isDistinct

boolean isDistinct()
Return true if the query uses distinct.


getFirstRow

int getFirstRow()
Return the first row value.


getMaxRows

int getMaxRows()
Return the max rows for this query.


getDbSql

String getDbSql()
Return the sql query.


getDbOrderBy

String getDbOrderBy()
Return the orderBy clause of the sql query.


getOrmQuery

com.avaje.ebeaninternal.api.SpiQuery<?> getOrmQuery()
return the query


getDbPlatform

DatabasePlatform getDbPlatform()
return the database platform



Copyright © 2012. All Rights Reserved.