Package org.jdbi.v3.core.statement
Class DefinedAttributeTemplateEngine
java.lang.Object
org.jdbi.v3.core.statement.DefinedAttributeTemplateEngine
- All Implemented Interfaces:
- TemplateEngine,- TemplateEngine.Parsing
Template engine which replaces angle-bracketed tokens like
 
<name> with the string value of the named attribute.
 Attribute names may contain letters (a-z, A-Z), digits (0-9), or underscores
 (_).- 
Nested Class SummaryNested classes/interfaces inherited from interface org.jdbi.v3.core.statement.TemplateEngineTemplateEngine.Parsing
- 
Field SummaryFields inherited from interface org.jdbi.v3.core.statement.TemplateEngineNOP
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionparse(String template, ConfigRegistry config) Parse a SQL template and return a parsed representation ready to apply to a statement.Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jdbi.v3.core.statement.TemplateEngine.Parsingrender
- 
Constructor Details- 
DefinedAttributeTemplateEnginepublic DefinedAttributeTemplateEngine()
 
- 
- 
Method Details- 
parseDescription copied from interface:TemplateEngineParse a SQL template and return a parsed representation ready to apply to a statement. This allows the parsed representation to be cached and reused.- Specified by:
- parsein interface- TemplateEngine
- Specified by:
- parsein interface- TemplateEngine.Parsing
- Parameters:
- template- the sql template to parse
- config- the Jdbi configuration at prepare time
- Returns:
- a parsed representation, if available
 
 
-