com.avaje.ebean.config.dbplatform
Interface SqlLimiter

All Known Implementing Classes:
LimitOffsetSqlLimiter, RowNumberSqlLimiter, RownumSqlLimiter

public interface SqlLimiter

Adds SQL limiting to a query (such as LIMIT OFFSET).


Field Summary
static char CARRIAGE_RETURN
          The carriage return character.
static char NEW_LINE
          the new line character used.
 
Method Summary
 SqlLimitResponse limit(SqlLimitRequest request)
          Add the SQL limiting statements around the query.
 

Field Detail

NEW_LINE

static final char NEW_LINE
the new line character used.

Note that this is removed for logging sql to the transaction log.

See Also:
Constant Field Values

CARRIAGE_RETURN

static final char CARRIAGE_RETURN
The carriage return character.

See Also:
Constant Field Values
Method Detail

limit

SqlLimitResponse limit(SqlLimitRequest request)
Add the SQL limiting statements around the query.



Copyright © 2010. All Rights Reserved.