LimitHandler for Transact SQL and similar
databases which support the syntax SELECT TOP n.
Note that this syntax does not allow specification of
an offset.
| Modifier and Type | Field and Description |
|---|---|
| public static TopLimitHandler |
| 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 limitClause, String sql)
Implements abstract org. |
| protected String | limitClause()
Implements abstract org. |
| INSTANCE | back to summary |
|---|---|
| public static TopLimitHandler INSTANCE | |
| TopLimitHandler | back to summary |
|---|---|
| public TopLimitHandler(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 limitClause, 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.
| |