com.avaje.ebean.config.dbplatform
Class SqlLimitResponse

java.lang.Object
  extended by com.avaje.ebean.config.dbplatform.SqlLimitResponse

public class SqlLimitResponse
extends Object

    

The resulting SQL from a SqlLimit process.


Constructor Summary
SqlLimitResponse(String sql, boolean includesRowNumberColumn)
          Create the response.
 
Method Summary
 String getSql()
          The final query sql with SQL limit statements added.
 boolean isIncludesRowNumberColumn()
          Returns true if a ROW_NUMBER column is used in the query.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlLimitResponse

public SqlLimitResponse(String sql,
                        boolean includesRowNumberColumn)
Create the response.

Method Detail

getSql

public String getSql()
The final query sql with SQL limit statements added.


isIncludesRowNumberColumn

public boolean isIncludesRowNumberColumn()
Returns true if a ROW_NUMBER column is used in the query.



Copyright © 2010. All Rights Reserved.