Top Fields Constructors Methods
org.hibernate.dialect.pagination

public Class FirstLimitHandler

extends LegacyFirstLimitHandler
Class Inheritance
Imports
org.hibernate.engine.spi.RowSelection

Author
Brett Meyer

Field Summary

Modifier and TypeField and Description
public static final FirstLimitHandler

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public String
processSql(String
the SQL query to process.
sql
,
RowSelection
the selection criteria for rows.
selection
)

Overrides org.hibernate.dialect.pagination.LegacyFirstLimitHandler.processSql.

Implements org.hibernate.dialect.pagination.LimitHandler.processSql.

Return processed SQL query.
Inherited from org.hibernate.dialect.pagination.LegacyFirstLimitHandler:
supportsLimitsupportsLimitOffsetsupportsVariableLimituseMaxForLimit

Field Detail

INSTANCEback to summary
public static final FirstLimitHandler INSTANCE

Hides org.hibernate.dialect.pagination.LegacyFirstLimitHandler.INSTANCE.

Constructor Detail

FirstLimitHandlerback to summary
private FirstLimitHandler()

Method Detail

processSqlback to summary
public String processSql(String sql, RowSelection selection)

Overrides org.hibernate.dialect.pagination.LegacyFirstLimitHandler.processSql.

Implements org.hibernate.dialect.pagination.LimitHandler.processSql.

Doc from org.hibernate.dialect.pagination.LimitHandler.processSql.

Return processed SQL query.

Parameters
sql:String

the SQL query to process.

selection:RowSelection

the selection criteria for rows.

Returns:String

Query statement with LIMIT clause applied.

Annotations
@Override