Class StringTemplateEngine

java.lang.Object
org.jdbi.v3.stringtemplate4.StringTemplateEngine
All Implemented Interfaces:
org.jdbi.v3.core.statement.TemplateEngine

public class StringTemplateEngine extends Object implements org.jdbi.v3.core.statement.TemplateEngine
Rewrites a StringTemplate template, using the attributes on the StatementContext as template parameters. For configuration, see StringTemplates.
  • 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    render(String sql, org.jdbi.v3.core.statement.StatementContext ctx)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.jdbi.v3.core.statement.TemplateEngine

    parse
  • Constructor Details

    • StringTemplateEngine

      public StringTemplateEngine()
  • Method Details

    • render

      public String render(String sql, org.jdbi.v3.core.statement.StatementContext ctx)
      Specified by:
      render in interface org.jdbi.v3.core.statement.TemplateEngine