Class PostgreSQLDialect
java.lang.Object
org.huiche.dialect.BaseDialect
org.huiche.dialect.PostgreSQLDialect
- All Implemented Interfaces:
Dialect
-
Field Summary
Fields inherited from class BaseDialect
keywords, quoteString -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetJsonValue(PreparedStatement ps, int parameterIndex, String jsonValue, Configuration configuration) 设置json值时实现translatePaging(Integer limit, Integer offset) 转译分页Methods inherited from class BaseDialect
quote, translate, translate, translateCustomMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Dialect
processTemplateParams, template, typeForSetNull, useNational
-
Constructor Details
-
PostgreSQLDialect
public PostgreSQLDialect()默认构造 -
PostgreSQLDialect
-
-
Method Details
-
setJsonValue
public void setJsonValue(PreparedStatement ps, int parameterIndex, String jsonValue, Configuration configuration) throws SQLException Description copied from interface:Dialect设置json值时实现- Parameters:
ps- psparameterIndex- 参数下标jsonValue- json值configuration- 配置- Throws:
SQLException- sql异常
-
translatePaging
Description copied from interface:Dialect转译分页- Specified by:
translatePagingin interfaceDialect- Overrides:
translatePagingin classBaseDialect- Parameters:
limit- 限制条数offset- 跳过条数- Returns:
- 分页语法
-