package com.avaje.ebeaninternal.server.query; /** * Constants used in find processing. */ public interface Constants { /** * the new line character used. *

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

*/ public static final char NEW_LINE = '\n'; /** * The carriage return character. */ public static final char CARRIAGE_RETURN = '\r'; /** * literal used for SQL LIMIT in MySql and Postgres. */ public static final String LIMIT = "limit"; /** * Literal used for SQL LIMIT OFFSET clause in MySql and Postgres. */ public static final String OFFSET = "offset"; /** * ROW_NUMBER() OVER (ORDER BY */ public static final String ROW_NUMBER_OVER = "row_number() over (order by "; /** * ) as rn, */ public static final String ROW_NUMBER_AS = ") as rn, "; }