LimitHandler for databases which support the
ANSI SQL standard syntax FETCH FIRST m ROWS ONLY
and OFFSET n ROWS FETCH NEXT m ROWS ONLY.
| Modifier and Type | Field and Description |
|---|---|
| public static final OffsetFetchLimitHandler | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| INSTANCE | back to summary |
|---|---|
| public static final OffsetFetchLimitHandler INSTANCE | |
| variableLimit | back to summary |
|---|---|
| private final boolean variableLimit | |
| OffsetFetchLimitHandler | back to summary |
|---|---|
| public OffsetFetchLimitHandler(boolean variableLimit) | |
| begin | back to summary |
|---|---|
| pack-priv void begin(String sql, StringBuilder offsetFetch, boolean hasFirstRow, boolean hasMaxRows) | |
| insert | back to summary |
|---|---|
| pack-priv String insert(String offsetFetch, String sql) | |
| processSql | back to summary |
|---|---|
| public String processSql(String sql, Limit limit) Overrides org. Implements org.
| |
| renderOffsetRowsKeyword | back to summary |
|---|---|
| protected boolean renderOffsetRowsKeyword() | |
| supportsLimit | back to summary |
|---|---|
| public final boolean supportsLimit() Overrides org. Implements org. Doc from org. Does this handler support limiting query results?
| |
| supportsOffset | back to summary |
|---|---|
| public boolean supportsOffset() Overrides org. Implements org. Doc from org. Does this handler support offsetting query results without also specifying a limit?
| |
| supportsVariableLimit | back to summary |
|---|---|
| public final boolean supportsVariableLimit() Overrides org. Doc from org. Does this handler support bind variables (JDBC prepared statement parameters) for its limit/offset?
| |