public class DialectFunctionProcessorImpl extends Object implements DialectFunctionProcessor
开发人员: renhui
开发时间: 2013-8-20
DATABASE_TYPE
Constructor and Description |
---|
DialectFunctionProcessorImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addDialectFunctions(DialectFunctions functions)
增加方言函数配置信息
|
DialectFunction |
getDialectFunction(String functionName)
根据方言函数名获取方言函数配置
|
static DialectFunctionProcessor |
getDialectFunctionProcessor() |
Dialect |
getDialectWithDatabaseType(String functionName,
String databaseType)
根据函数名称获取以及数据库类型,获取方言函数信息
|
String |
getFunctionSql(String originalSql,
String databaseType)
返回经过方言函数替换后的sql
|
String |
getFuntionSql(String originalSql,
String databaseType)
Deprecated.
|
void |
removeDialectFunctions(DialectFunctions functions)
删除方言函数配置信息
|
public static DialectFunctionProcessor getDialectFunctionProcessor()
public void addDialectFunctions(DialectFunctions functions)
DialectFunctionProcessor
addDialectFunctions
in interface DialectFunctionProcessor
public void removeDialectFunctions(DialectFunctions functions)
DialectFunctionProcessor
removeDialectFunctions
in interface DialectFunctionProcessor
public DialectFunction getDialectFunction(String functionName)
DialectFunctionProcessor
getDialectFunction
in interface DialectFunctionProcessor
@Deprecated public String getFuntionSql(String originalSql, String databaseType)
DialectFunctionProcessor
getFuntionSql
in interface DialectFunctionProcessor
public String getFunctionSql(String originalSql, String databaseType)
DialectFunctionProcessor
getFunctionSql
in interface DialectFunctionProcessor
public Dialect getDialectWithDatabaseType(String functionName, String databaseType)
DialectFunctionProcessor
getDialectWithDatabaseType
in interface DialectFunctionProcessor
Copyright © 2006–2018 TinyGroup. All rights reserved.