Package io.dropwizard.jdbi3
Class NamePrependingTemplateEngine
java.lang.Object
io.dropwizard.jdbi3.NamePrependingTemplateEngine
- All Implemented Interfaces:
org.jdbi.v3.core.statement.TemplateEngine
public class NamePrependingTemplateEngine
extends Object
implements org.jdbi.v3.core.statement.TemplateEngine
Jdbi
TemplateEngine that prepends the SQLObject's type and method name in front of every
statement sent to the database.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jdbi.v3.core.statement.TemplateEngine
org.jdbi.v3.core.statement.TemplateEngine.Parsing -
Field Summary
Fields inherited from interface org.jdbi.v3.core.statement.TemplateEngine
NOP -
Constructor Summary
ConstructorsConstructorDescriptionNamePrependingTemplateEngine(org.jdbi.v3.core.statement.TemplateEngine originalEngine) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jdbi.v3.core.statement.TemplateEngine
parse
-
Constructor Details
-
NamePrependingTemplateEngine
public NamePrependingTemplateEngine(org.jdbi.v3.core.statement.TemplateEngine originalEngine) - Parameters:
originalEngine- The originalTemplateEngineto use to create the actual statements
-
-
Method Details
-
render
- Specified by:
renderin interfaceorg.jdbi.v3.core.statement.TemplateEngine
-