Package org.frankframework.dbms
Class SqlTranslator
java.lang.Object
org.frankframework.dbms.SqlTranslator
- All Implemented Interfaces:
ISqlTranslator
Sql syntax translator to translate queries
for different database management systems (e.g. Oracle to MsSql or PostgreSql to MySql)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SqlTranslator
- Throws:
DbmsException
-
-
Method Details
-
canConvert
- Specified by:
canConvert
in interfaceISqlTranslator
-
translate
Translates the given query to the target language. Uses the translation rules set by this and the target translators.- Specified by:
translate
in interfaceISqlTranslator
- Parameters:
original
- Original query to be translated.- Returns:
- Translated query.
-
toPattern
Compiles a pattern with necessary flags.- Parameters:
str
- String to be compiled.- Returns:
- Output pattern.
-