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 FirstLimitHandlerINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringprocessSql(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 String processSql(String sql, RowSelection selection)
Description copied from interface:LimitHandlerReturn processed SQL query.- Specified by:
processSqlin interfaceLimitHandler- Overrides:
processSqlin classLegacyFirstLimitHandler- Parameters:
sql- the SQL query to process.selection- the selection criteria for rows.- Returns:
- Query statement with LIMIT clause applied.
-
-