| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getIdentitySelectString()
Overrides org. |
| public String | getLimitString(String
The query to which to apply the limit. sql, int The offset of the limit offset, int The limit of the limit ;) limit)Overrides org. |
| public boolean | supportsLimit()
Does this dialect support some form of limiting query results
via a SQL clause?
|
| public boolean | supportsLimitOffset()
Overrides org. |
| public boolean | supportsSequences()
Overrides org. |
| public boolean | supportsVariableLimit()
Overrides org. |
| public boolean | useMaxForLimit()
Does the LIMIT clause take a "maximum" row number instead
of a total number of returned rows?
|
| DB2390Dialect | back to summary |
|---|---|
| public DB2390Dialect() | |
| getIdentitySelectString | back to summary |
|---|---|
| public String getIdentitySelectString() Overrides org. Doc from org. Get the select command to use to retrieve the last generated IDENTITY value.
| |
| getLimitString | back to summary |
|---|---|
| public String getLimitString(String sql, int offset, int limit) Overrides org. Doc from org. Given a limit and an offset, apply the limit clause to the query. | |
| supportsLimit | back to summary |
|---|---|
| public boolean supportsLimit() Overrides org. Doc from org. Does this dialect support some form of limiting query results via a SQL clause?
| |
| supportsLimitOffset | back to summary |
|---|---|
| public boolean supportsLimitOffset() Overrides org. Doc from org. Does this dialect's LIMIT support (if any) additionally support specifying an offset?
| |
| supportsSequences | back to summary |
|---|---|
| public boolean supportsSequences() Overrides org. Doc from org. Does this dialect support sequences?
| |
| supportsVariableLimit | back to summary |
|---|---|
| public boolean supportsVariableLimit() Overrides org. Doc from org. Does this dialect support bind variables (i.e., prepared statement parameters) for its limit/offset?
| |
| useMaxForLimit | back to summary |
|---|---|
| public boolean useMaxForLimit() Overrides org. Doc from org. Does the LIMIT clause take a "maximum" row number instead of a total number of returned rows? This is easiest understood via an example. Consider you have a table with 20 rows, but you only want to retrieve rows number 11 through 20. Generally, a limit with offset would say that the offset = 11 and the limit = 10 (we only want 10 rows at a time); this is specifying the total number of returned rows. Some dialects require that we instead specify offset = 11 and limit = 20, where 20 is the "last" row we want relative to offset (i.e. total number of rows = 20 - 11 = 9) So essentially, is limit relative from offset? Or is limit absolute?
| |