Package org.jdbi.v3.core.statement
Class ColonPrefixSqlParser
java.lang.Object
org.jdbi.v3.core.statement.ColonPrefixSqlParser
- All Implemented Interfaces:
 SqlParser
SQL parser which recognizes named parameter tokens of the form
 
:tokenName
 This is the default SQL parser
- 
Constructor Summary
ConstructorsConstructorDescriptionColonPrefixSqlParser(com.github.benmanes.caffeine.cache.Caffeine<Object, Object> cache)  - 
Method Summary
Modifier and TypeMethodDescriptioncom.github.benmanes.caffeine.cache.stats.CacheStatsnameParameter(String rawName, StatementContext ctx) Convert rawName to a name as recognized by this parserparse(String sql, StatementContext ctx) Parses the given SQL statement, and returns theParsedSqlfor the statement. 
- 
Constructor Details
- 
ColonPrefixSqlParser
public ColonPrefixSqlParser() - 
ColonPrefixSqlParser
 
 - 
 - 
Method Details
- 
nameParameter
Description copied from interface:SqlParserConvert 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
 
 - 
parse
Description copied from interface:SqlParserParses the given SQL statement, and returns theParsedSqlfor the statement. - 
cacheStats
 
 -