public class SQLiteDialect extends PostgreSQLDialect
GROUP_BY_PATTERN, ORDER_BY_PATTERN
Constructor and Description |
---|
SQLiteDialect() |
Modifier and Type | Method and Description |
---|---|
protected void |
appendDate(StringBuilder query,
Date value) |
protected void |
appendTime(StringBuilder query,
Time value) |
protected void |
appendTimestamp(StringBuilder query,
Timestamp value) |
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
|
Object |
overrideDriverTypeConversion(MetaModel mm,
String attributeName,
Object value) |
appendEmptyRow, appendOrderBy, appendQuestions, appendSelect, appendSubQuery, appendValue, deleteManyToManyAssociation, insert, insertManyToManyAssociation, insertParametrized, selectCount, selectCount, selectExists, selectManyToManyAssociation, selectStar, selectStar, selectStarParametrized, update
public String formSelect(String tableName, String[] columns, String subQuery, List<String> orderBys, long limit, long offset)
PostgreSQLDialect
formSelect
in interface Dialect
formSelect
in class PostgreSQLDialect
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 querypublic Object overrideDriverTypeConversion(MetaModel mm, String attributeName, Object value)
overrideDriverTypeConversion
in interface Dialect
overrideDriverTypeConversion
in class DefaultDialect
protected void appendDate(StringBuilder query, Date value)
appendDate
in class DefaultDialect
protected void appendTime(StringBuilder query, Time value)
appendTime
in class DefaultDialect
protected void appendTimestamp(StringBuilder query, Timestamp value)
appendTimestamp
in class DefaultDialect
Copyright © 2016 JavaLite. All rights reserved.