public class PostgreSQLDialect extends DefaultDialect
GROUP_BY_PATTERN, ORDER_BY_PATTERN
Constructor and Description |
---|
PostgreSQLDialect() |
Modifier and Type | Method and Description |
---|---|
String |
formSelect(String tableName,
String[] columns,
String subQuery,
List<String> orderBys,
long limit,
long offset)
Generates adds limit, offset and order bys to a sub-query
|
appendDate, appendEmptyRow, appendOrderBy, appendQuestions, appendSelect, appendSubQuery, appendTime, appendTimestamp, appendValue, deleteManyToManyAssociation, insert, insertManyToManyAssociation, insertParametrized, overrideDriverTypeConversion, selectCount, selectCount, selectExists, selectManyToManyAssociation, selectStar, selectStar, selectStarParametrized, update
public String formSelect(String tableName, String[] columns, String subQuery, List<String> orderBys, long limit, long offset)
formSelect
in interface Dialect
formSelect
in class DefaultDialect
tableName
- name of table. If table name is null, then the subQuery parameter is considered to be a full query, and all that needs to be done is to
add limit, offset and order byscolumns
- not used in this implementationsubQuery
- sub-query or a full queryorderBys
- limit
- offset
- Copyright © 2016 JavaLite. All rights reserved.