Class NativeSQLTranslator
java.lang.Object
org.apache.shardingsphere.sqltranslator.natived.NativeSQLTranslator
- All Implemented Interfaces:
org.apache.shardingsphere.infra.util.spi.type.required.RequiredSPI,org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI,SQLTranslator
Native SQL translator.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()booleantranslate(String sql, org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement statement, org.apache.shardingsphere.infra.database.type.DatabaseType protocolType, org.apache.shardingsphere.infra.database.type.DatabaseType storageType) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
getTypeAliases
-
Constructor Details
-
NativeSQLTranslator
public NativeSQLTranslator()
-
-
Method Details
-
translate
public String translate(String sql, org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement statement, org.apache.shardingsphere.infra.database.type.DatabaseType protocolType, org.apache.shardingsphere.infra.database.type.DatabaseType storageType) - Specified by:
translatein interfaceSQLTranslator
-
getType
- Specified by:
getTypein interfaceorg.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
-
isDefault
public boolean isDefault()- Specified by:
isDefaultin interfaceorg.apache.shardingsphere.infra.util.spi.type.required.RequiredSPI
-