Interface SQLTranslator
-
- All Superinterfaces:
org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
public interface SQLTranslator extends org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPISQL translator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringtranslate(String sql, org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement sqlStatement, DatabaseType protocolType, DatabaseType storageType)Translate SQL.
-
-
-
Method Detail
-
translate
String translate(String sql, org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement sqlStatement, DatabaseType protocolType, DatabaseType storageType)
Translate SQL.- Parameters:
sql- to be translated SQLsqlStatement- to be translated SQL statementprotocolType- protocol typestorageType- storage type- Returns:
- translated SQL
-
-