Class HashPrefixSqlParser

  • All Implemented Interfaces:
    SqlParser

    public class HashPrefixSqlParser
    extends CachingSqlParser
    SQL parser which recognizes named parameter tokens of the form #tokenName.
    • Constructor Detail

      • HashPrefixSqlParser

        public HashPrefixSqlParser()
    • Method Detail

      • nameParameter

        public java.lang.String nameParameter​(java.lang.String rawName,
                                              StatementContext ctx)
        Description copied from interface: SqlParser
        Convert rawName to a name as recognized by this parser
        Parameters:
        rawName - the raw name to transform
        ctx - The statement context for the statement being executed
        Returns:
        a name appropriate for being identified a a named parameter by this parser