public class SQL2008StandardLimitHandler extends AbstractLimitHandler
Modifier and Type | Field and Description |
---|---|
static SQL2008StandardLimitHandler |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
String |
processSql(String sql,
RowSelection selection)
Return processed SQL query.
|
boolean |
supportsLimit()
Does this handler support some form of limiting query results
via a SQL clause?
|
bindLimitParameters, bindLimitParametersAtEndOfQuery, bindLimitParametersAtStartOfQuery, bindLimitParametersFirst, bindLimitParametersInReverseOrder, convertToFirstRowValue, forceLimitUsage, getMaxOrLimit, setMaxRows, supportsLimitOffset, supportsVariableLimit, useMaxForLimit
public static final SQL2008StandardLimitHandler INSTANCE
public boolean supportsLimit()
LimitHandler
supportsLimit
in interface LimitHandler
supportsLimit
in class AbstractLimitHandler
public String processSql(String sql, RowSelection selection)
LimitHandler
processSql
in interface LimitHandler
processSql
in class AbstractLimitHandler
sql
- the SQL query to process.selection
- the selection criteria for rows.Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.