|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Dialect
Interface representing a SQL dialect. Dialects can modify SQL queries in database server-specific ways.
| Method Summary | |
|---|---|
String |
createCountSelect(String sql)
Returns a SQL statement that returns the number of rows that would be returned by another select. |
String |
createPageSelect(String sql,
int limit,
int offset)
Returns a SQL statement that returns a limited number of rows from an inner query. |
| Method Detail |
|---|
String createCountSelect(String sql)
sql - Inner select statement, i.e. the one that returns the rows
themselves.
String createPageSelect(String sql,
int limit,
int offset)
sql - Inner query that would return the full result set.limit - Maximum number of rows to return.offset - Index into the result set of the first row returned.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||