Class HashPrefixSqlParser
java.lang.Object
org.jdbi.v3.core.statement.CachingSqlParser
org.jdbi.v3.core.statement.HashPrefixSqlParser
- All Implemented Interfaces:
SqlParser
SQL parser which recognizes named parameter tokens of the form
#tokenName
.-
Field Summary
Fields inherited from class org.jdbi.v3.core.statement.CachingSqlParser
PARSED_SQL_CACHE_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnameParameter
(String rawName, StatementContext ctx) Convert rawName to a name as recognized by this parserMethods inherited from class org.jdbi.v3.core.statement.CachingSqlParser
cacheStats, parse
-
Constructor Details
-
HashPrefixSqlParser
public HashPrefixSqlParser() -
HashPrefixSqlParser
-
-
Method Details
-
nameParameter
Description copied from interface:SqlParser
Convert rawName to a name as recognized by this parser- Parameters:
rawName
- the raw name to transformctx
- The statement context for the statement being executed- Returns:
- a name appropriate for being identified a a named parameter by this parser
-