Package io.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).
-
Method Summary
Modifier and Type Method Description StringgetDbOrderBy()Return the orderBy clause of the sql query.DatabasePlatformgetDbPlatform()return the database platformStringgetDbSql()Return the sql query.intgetFirstRow()Return the first row value.intgetMaxRows()Return the max rows for this query.Query<?>getOrmQuery()return the querybooleanisDistinct()Return true if the query uses distinct.
-
Method Details
-
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
Return the sql query. -
getDbOrderBy
Return the orderBy clause of the sql query. -
getOrmQuery
Query<?> getOrmQuery()return the query -
getDbPlatform
return the database platform
-