public interface SqlParser
ParsedSql containing the JDBC-ready SQL statement, along with the
type of parameters used (named or positional), the number, and the parameter
name for each position (if applicable).| Modifier and Type | Method and Description |
|---|---|
String |
nameParameter(String rawName,
StatementContext ctx)
Convert rawName to a name as recognized by this parser
|
ParsedSql |
parse(String sql,
StatementContext ctx)
Parses the given SQL statement, and returns the
ParsedSql
for the statement. |
String nameParameter(String rawName, StatementContext ctx)
rawName - the raw name to transformctx - The statement context for the statement being executedParsedSql parse(String sql, StatementContext ctx)
ParsedSql
for the statement.sql - The SQL statement to parsectx - The statement context for the statement being executedCopyright © 2017. All rights reserved.