Package org.jdbi.v3.freemarker
Class FreemarkerEngine
java.lang.Object
org.jdbi.v3.freemarker.FreemarkerEngine
- All Implemented Interfaces:
TemplateEngine,TemplateEngine.Parsing
Rewrites a Freemarker template, using the attributes on the
StatementContext as template parameters.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jdbi.v3.core.statement.TemplateEngine
TemplateEngine.Parsing -
Field Summary
Fields inherited from interface org.jdbi.v3.core.statement.TemplateEngine
NOP -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jdbi.v3.core.statement.TemplateEngine.Parsing
render
-
Constructor Details
-
FreemarkerEngine
public FreemarkerEngine()
-
-
Method Details
-
parse
public Optional<Function<StatementContext,String>> parse(String sqlTemplate, ConfigRegistry config)- Specified by:
parsein interfaceTemplateEngine- Specified by:
parsein interfaceTemplateEngine.Parsing
-