LimitHandler for databases which support the ANSI
SQL standard syntax FETCH FIRST m ROWS ONLY but not
OFFSET n ROWS.
| Modifier and Type | Field and Description |
|---|---|
| public static final FetchLimitHandler |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | bindLimitParametersFirst()
Implements abstract org. SELECT statement, or at the end of the query?
|
| protected String | insert(String fetch, String sql)
Implements abstract org. |
| protected String | limitClause()
Implements abstract org. |
| INSTANCE | back to summary |
|---|---|
| public static final FetchLimitHandler INSTANCE | |
| FetchLimitHandler | back to summary |
|---|---|
| public FetchLimitHandler(boolean variableLimit) | |
| bindLimitParametersFirst | back to summary |
|---|---|
| public boolean bindLimitParametersFirst() Implements abstract org. Doc from org. Does the offset/limit clause come at the start of the
| |
| insert | back to summary |
|---|---|
| protected String insert(String fetch, String sql) Implements abstract org.
| |
| limitClause | back to summary |
|---|---|
| protected String limitClause() Implements abstract org. Doc from org. The SQL fragment to insert, with a ? placeholder for the actual numerical limit.
| |