Uses of Interface
org.jdbi.v3.core.statement.TemplateEngine
Packages that use TemplateEngine
Package
Description
The
config
classes define a configuration registry starting from
each Jdbi
instance.
The
statement
package provides most of the Fluent API
to drive statement execution.freemarker
provides advanced string template processing.stringtemplate4
provides advanced string template processing
that Jdbi
can drive with the statement's bound parameters
and context to drive statement generation that may need to bind
variable number of parameters or other advanced use cases.-
Uses of TemplateEngine in org.jdbi.v3.commonstext
Classes in org.jdbi.v3.commonstext that implement TemplateEngineModifier and TypeClassDescriptionclass
Register an instance of this class (SqlStatements.setTemplateEngine(org.jdbi.v3.core.statement.TemplateEngine)
) to use an Apache Commons TextStringSubstitutor
as aTemplateEngine
. -
Uses of TemplateEngine in org.jdbi.v3.core.config
Methods in org.jdbi.v3.core.config with parameters of type TemplateEngineModifier and TypeMethodDescriptiondefault This
Configurable.setTemplateEngine
(TemplateEngine templateEngine) Convenience method forgetConfig(SqlStatements.class).setTemplateEngine(rewriter)
-
Uses of TemplateEngine in org.jdbi.v3.core.statement
Subinterfaces of TemplateEngine in org.jdbi.v3.core.statementClasses in org.jdbi.v3.core.statement that implement TemplateEngineModifier and TypeClassDescriptionclass
Template engine which replaces angle-bracketed tokens like<name>
with the string value of the named attribute.class
Deprecated.class
A TemplateEngine that does not do any templating but returns SQL verbatim.Fields in org.jdbi.v3.core.statement declared as TemplateEngineModifier and TypeFieldDescriptionstatic final TemplateEngine
TemplateEngine.NOP
Convenience constant that returns the input template.Methods in org.jdbi.v3.core.statement that return TemplateEngineModifier and TypeMethodDescriptionSqlStatements.getTemplateEngine()
Returns theTemplateEngine
which renders the SQL template.Methods in org.jdbi.v3.core.statement with parameters of type TemplateEngineModifier and TypeMethodDescriptionSqlStatements.setTemplateEngine
(TemplateEngine templateEngine) Sets theTemplateEngine
used to render SQL for allSQL statements
executed by Jdbi. -
Uses of TemplateEngine in org.jdbi.v3.freemarker
Classes in org.jdbi.v3.freemarker that implement TemplateEngineModifier and TypeClassDescriptionclass
Rewrites a Freemarker template, using the attributes on theStatementContext
as template parameters. -
Uses of TemplateEngine in org.jdbi.v3.stringtemplate4
Classes in org.jdbi.v3.stringtemplate4 that implement TemplateEngineModifier and TypeClassDescriptionclass
Rewrites a StringTemplate template, using the attributes on theStatementContext
as template parameters.
MessageFormat
formats integers with decimal separators, e.g.