Package org.firebirdsql.jdbc.escape
Class FBEscapedParser
- java.lang.Object
-
- org.firebirdsql.jdbc.escape.FBEscapedParser
-
@InternalApi public final class FBEscapedParser extends java.lang.Object
The classFBEscapedParserparses the SQL and converts escaped syntax to native form.- Author:
- Roman Rokytskyy, Mark Rotteveel
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Stringparse(java.lang.String sql)Converts escaped parts insqlto native representation.static java.lang.StringtoNativeSql(java.lang.String sql)Converts escaped parts insqlto native representation.
-
-
-
Method Detail
-
toNativeSql
public static java.lang.String toNativeSql(java.lang.String sql) throws java.sql.SQLExceptionConverts escaped parts insqlto native representation.- Parameters:
sql- to parse- Returns:
- native form of the
sql. - Throws:
java.sql.SQLException
-
parse
public static java.lang.String parse(java.lang.String sql) throws java.sql.SQLExceptionConverts escaped parts insqlto native representation.- Parameters:
sql- to parse- Returns:
- native form of the
sql. - Throws:
java.sql.SQLException
-
-