public interface SQLTranslator
extends org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI, org.apache.shardingsphere.infra.util.spi.type.required.RequiredSPI
| 限定符和类型 | 方法和说明 |
|---|---|
String |
translate(String sql,
org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement sqlStatement,
DatabaseType protocolType,
DatabaseType storageType)
Translate SQL.
|
String translate(String sql, org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement sqlStatement, DatabaseType protocolType, DatabaseType storageType) throws SQLTranslationException
sql - to be translated SQLsqlStatement - to be translated SQL statementprotocolType - protocol typestorageType - storage typeSQLTranslationException - SQL translation exceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.