001package io.ebean.config.dbplatform; 002 003/** 004 * Adds SQL limiting to a query (such as LIMIT OFFSET). 005 */ 006public interface SqlLimiter { 007 008 /** 009 * the new line character used. 010 * <p> 011 * Note that this is removed for logging sql to the transaction log. 012 * </p> 013 */ 014 char NEW_LINE = '\n'; 015 016 /** 017 * Add the SQL limiting statements around the query. 018 */ 019 SqlLimitResponse limit(SqlLimitRequest request); 020}