Class QueryNamedParameterParser

java.lang.Object
org.infinispan.persistence.sql.QueryNamedParameterParser

public class QueryNamedParameterParser extends Object
  • Constructor Details

    • QueryNamedParameterParser

      public QueryNamedParameterParser()
  • Method Details

    • 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