| Modifier and Type | Field and Description |
|---|---|
| public static final NoopLimitHandler |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | bindLimitParametersAtEndOfQuery(RowSelection
the selection criteria for rows. selection, PreparedStatement Statement to which to bind limit parameter values. statement, int Index from which to start binding. index)Overrides org. Implements org. |
| public int | bindLimitParametersAtStartOfQuery(RowSelection
the selection criteria for rows. selection, PreparedStatement Statement to which to bind limit parameter values. statement, int Index from which to start binding. index)Overrides org. Implements org. |
| public String | processSql(String
the SQL query to process. sql, RowSelection the selection criteria for rows. selection)Overrides org. Implements org. |
| public void | setMaxRows(RowSelection
the selection criteria for rows. selection, PreparedStatement Statement which number of returned rows shall be limited. statement)Overrides org. Implements org. |
| INSTANCE | back to summary |
|---|---|
| public static final NoopLimitHandler INSTANCE | |
| NoopLimitHandler | back to summary |
|---|---|
| private NoopLimitHandler() | |
| bindLimitParametersAtEndOfQuery | back to summary |
|---|---|
| public int bindLimitParametersAtEndOfQuery(RowSelection selection, PreparedStatement statement, int index) Overrides org. Implements org. Doc from org. Bind parameter values needed by the LIMIT clause after original SELECT statement.
| |
| bindLimitParametersAtStartOfQuery | back to summary |
|---|---|
| public int bindLimitParametersAtStartOfQuery(RowSelection selection, PreparedStatement statement, int index) Overrides org. Implements org. Doc from org. Bind parameter values needed by the LIMIT clause before original SELECT statement.
| |
| processSql | back to summary |
|---|---|
| public String processSql(String sql, RowSelection selection) Overrides org. Implements org. Doc from org. Return processed SQL query.
| |
| setMaxRows | back to summary |
|---|---|
| public void setMaxRows(RowSelection selection, PreparedStatement statement) throws SQLException Overrides org. Implements org. Doc from org. Use JDBC API to limit the number of rows returned by the SQL query. Typically handlers that do not support LIMIT clause should implement this method.
| |