Package org.infinispan.persistence.sql
Class QueryNamedParameterParser
- java.lang.Object
-
- org.infinispan.persistence.sql.QueryNamedParameterParser
-
public class QueryNamedParameterParser extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QueryNamedParameterParser.ParserResults
-
Constructor Summary
Constructors Constructor Description QueryNamedParameterParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QueryNamedParameterParser.ParserResults
parseSqlStatement(String sql)
Parse the SQL statement and locate any placeholders or named parameters.
-
-
-
Method Detail
-
parseSqlStatement
public static QueryNamedParameterParser.ParserResults parseSqlStatement(String sql)
Parse the SQL statement and locate any placeholders or named parameters. Named parameters are substituted for a JDBC placeholder.- Parameters:
sql
- the SQL statement- Returns:
- the parsed statement, represented as ParsedSql instance
-
-