Package org.javalite.activejdbc.dialects
Class PostgreSQLDialect
- java.lang.Object
-
- org.javalite.activejdbc.dialects.DefaultDialect
-
- org.javalite.activejdbc.dialects.PostgreSQLDialect
-
- All Implemented Interfaces:
Serializable,Dialect
- Direct Known Subclasses:
H2Dialect,MySQLDialect,SQLiteDialect
public class PostgreSQLDialect extends DefaultDialect
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.javalite.activejdbc.dialects.DefaultDialect
GROUP_BY_PATTERN, ORDER_BY_PATTERN
-
-
Constructor Summary
Constructors Constructor Description PostgreSQLDialect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringformSelect(String tableName, String[] columns, String subQuery, List<String> orderBys, long limit, long offset)Generates adds limit, offset and order bys to a sub-query-
Methods inherited from class org.javalite.activejdbc.dialects.DefaultDialect
appendDate, appendEmptyRow, appendOrderBy, appendQuestions, appendSelect, appendSubQuery, appendTime, appendTimestamp, appendValue, deleteManyToManyAssociation, insert, insertManyToManyAssociation, insertParametrized, overrideDriverTypeConversion, replace, selectCount, selectCount, selectExists, selectManyToManyAssociation, selectStar, selectStar, selectStarParametrized, update
-
-
-
-
Method Detail
-
formSelect
public 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- Specified by:
formSelectin interfaceDialect- Overrides:
formSelectin classDefaultDialect- Parameters:
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-- Returns:
- query with
-
-