Package org.hibernate.dialect.pagination
Class FirstLimitHandler
- java.lang.Object
-
- org.hibernate.dialect.pagination.AbstractLimitHandler
-
- org.hibernate.dialect.pagination.LegacyFirstLimitHandler
-
- org.hibernate.dialect.pagination.FirstLimitHandler
-
- All Implemented Interfaces:
LimitHandler
public class FirstLimitHandler extends LegacyFirstLimitHandler
-
-
Field Summary
Fields Modifier and Type Field Description static FirstLimitHandler
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
processSql(java.lang.String sql, RowSelection selection)
Return processed SQL query.-
Methods inherited from class org.hibernate.dialect.pagination.LegacyFirstLimitHandler
supportsLimit, supportsLimitOffset, supportsVariableLimit, useMaxForLimit
-
Methods inherited from class org.hibernate.dialect.pagination.AbstractLimitHandler
bindLimitParameters, bindLimitParametersAtEndOfQuery, bindLimitParametersAtStartOfQuery, bindLimitParametersFirst, bindLimitParametersInReverseOrder, convertToFirstRowValue, forceLimitUsage, getMaxOrLimit, setMaxRows
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.dialect.pagination.LimitHandler
processSql
-
-
-
-
Field Detail
-
INSTANCE
public static final FirstLimitHandler INSTANCE
-
-
Method Detail
-
processSql
public java.lang.String processSql(java.lang.String sql, RowSelection selection)
Description copied from interface:LimitHandler
Return processed SQL query.- Specified by:
processSql
in interfaceLimitHandler
- Overrides:
processSql
in classLegacyFirstLimitHandler
- Parameters:
sql
- the SQL query to process.selection
- the selection criteria for rows.- Returns:
- Query statement with LIMIT clause applied.
-
-